Skip to content

Commit

Permalink
This test would fail on 32 bits.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jean-Mathieu Deschenes committed Jun 9, 2017
1 parent 0f10b79 commit 269414a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/indexing/test_timedelta.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def test_boolean_indexing(self):
[0, 1, 2, 10, 4, 5, 6, 7, 8, 9],
[10, 10, 10, 3, 4, 5, 6, 7, 8, 9]]
for cond, data in zip(conditions, expected_data):
result = df.assign(x=df.mask(cond, 10).astype('int64'))
result = df.assign(x=df.mask(cond, 10).astype(df['x'].dtype))
expected = pd.DataFrame(data,
index=pd.to_timedelta(range(10), unit='s'),
columns=['x'])
Expand Down

0 comments on commit 269414a

Please sign in to comment.