Skip to content

Commit 7268d2d

Browse files
Last small issues
1 parent c01e2d9 commit 7268d2d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pandas/tests/series/test_operators.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
import pandas as pd
88
from pandas import Categorical, DataFrame, Index, Series, bdate_range, date_range, isna
99
from pandas.core import ops
10-
from pandas.core.indexes.base import InvalidIndexError
1110
import pandas.core.nanops as nanops
1211
import pandas.util.testing as tm
1312
from pandas.util.testing import (

pandas/tests/test_base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -992,8 +992,8 @@ 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.intp), indexes)
996-
tm.assert_numpy_array_equal(np.array([0], dtype=np.intp), missing)
995+
tm.assert_numpy_array_equal(np.array([-1], dtype=np.int64), indexes)
996+
tm.assert_numpy_array_equal(np.array([0], dtype=np.int64), missing)
997997

998998

999999
class TestTranspose(Ops):

0 commit comments

Comments
 (0)