Skip to content

Commit c36241f

Browse files
committed
STYLE: remove use in pd.api.dtype in test_integer.py (pandas-dev#39203)
1 parent b50e7bf commit c36241f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/extension/test_integer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
UInt64Dtype,
3232
)
3333
from pandas.tests.extension import base
34-
34+
from pandas.api.types import is_integer_dtype
3535

3636
def make_data():
3737
return list(range(1, 9)) + [pd.NA] + list(range(10, 98)) + [pd.NA] + [99, 100]
@@ -119,7 +119,7 @@ def _check_op(self, s, op, other, op_name, exc=NotImplementedError):
119119
if (
120120
hasattr(other, "dtype")
121121
and not is_extension_array_dtype(other.dtype)
122-
and pd.api.types.is_integer_dtype(other.dtype)
122+
and is_integer_dtype(other.dtype)
123123
):
124124
# other is np.int64 and would therefore always result in
125125
# upcasting, so keeping other as same numpy_dtype

0 commit comments

Comments
 (0)