Skip to content

Commit ebbb07a

Browse files
get_indexer_non_unique makes strange dtype choices
1 parent 6dd8724 commit ebbb07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/test_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -992,7 +992,7 @@ def test_bool_indexing(self, indexer_klass, indexer):
992992

993993
def test_get_indexer_non_unique_dtype_mismatch(self):
994994
indexes, missing = pd.Index(["A", "B"]).get_indexer_non_unique(pd.Index([0]))
995-
tm.assert_numpy_array_equal(np.array([-1], dtype=np.int64), indexes)
995+
tm.assert_numpy_array_equal(np.array([-1], dtype=np.intp), indexes)
996996
tm.assert_numpy_array_equal(np.array([0], dtype=np.int64), missing)
997997

998998

0 commit comments

Comments
 (0)