Skip to content

Commit 138c1e3

Browse files
added type ignore
1 parent 3884d1f commit 138c1e3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

pandas/tests/indexing/test_categorical.py

+3-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
Series,
1515
Timedelta,
1616
Timestamp,
17-
conftest,
1817
)
1918
import pandas._testing as tm
2019
from pandas.api.types import CategoricalDtype as CDT
@@ -752,17 +751,17 @@ def test_map_with_dict_or_series(self):
752751
[1.5, 2.5, 3.5],
753752
[-1.5, -2.5, -3.5],
754753
# numpy int/uint
755-
*[np.array([1, 2, 3], dtype=dtype) for dtype in conftest.ALL_INT_DTYPES],
754+
*[np.array([1, 2, 3], dtype=dtype) for dtype in tm.ALL_INT_DTYPES],
756755
# numpy floats
757-
*[np.array([1.5, 2.5, 3.5], dtype=dtyp) for dtyp in conftest.FLOAT_DTYPES],
756+
*[np.array([1.5, 2.5, 3.5], dtype=dtyp) for dtyp in tm.FLOAT_DTYPES],
758757
# numpy object
759758
np.array([1, "b", 3.5], dtype=object),
760759
# pandas scalars
761760
[Interval(1, 4), Interval(4, 6), Interval(6, 9)],
762761
[Timestamp(2019, 1, 1), Timestamp(2019, 2, 1), Timestamp(2019, 3, 1)],
763762
[Timedelta(1, "d"), Timedelta(2, "d"), Timedelta(3, "D")],
764763
# pandas Integer arrays
765-
*[pd.array([1, 2, 3], dtype=dtype) for dtype in conftest.ALL_EA_INT_DTYPES],
764+
*[pd.array([1, 2, 3], dtype=dtype) for dtype in tm.ALL_EA_INT_DTYPES],
766765
# other pandas arrays
767766
pd.IntervalIndex.from_breaks([1, 4, 6, 9]).array,
768767
pd.date_range("2019-01-01", periods=3).array,

0 commit comments

Comments
 (0)