Skip to content

Commit

Permalink
TST: fix test for MultiIndexPyIntEngine on 32 bit (pandas-dev#19440)
Browse files Browse the repository at this point in the history
  • Loading branch information
toobaz authored and harisbal committed Feb 28, 2018
1 parent e58292f commit b00eeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/test_multilevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ def test_pyint_engine(self):
index = MultiIndex.from_tuples(keys)
assert index.get_loc(keys[idx]) == idx

expected = np.arange(idx + 1, dtype='int64')
expected = np.arange(idx + 1, dtype=np.intp)
result = index.get_indexer([keys[i] for i in expected])
tm.assert_numpy_array_equal(result, expected)

Expand Down

0 comments on commit b00eeb3

Please sign in to comment.