Skip to content

Commit 690ec6c

Browse files
committed
TST: fix test for MultiIndexPyIntEngine on 32 bit
closes pandas-dev#19439
1 parent 8cbee35 commit 690ec6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_multilevel.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1611,7 +1611,7 @@ def test_pyint_engine(self):
16111611
index = MultiIndex.from_tuples(keys)
16121612
assert index.get_loc(keys[idx]) == idx
16131613

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

0 commit comments

Comments
 (0)