Skip to content

Commit 8c074f5

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 720ca43 commit 8c074f5

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pandas/core/dtypes/dtypes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2295,7 +2295,6 @@ def numpy_dtype(self) -> np.dtype:
22952295
except (NotImplementedError, TypeError):
22962296
return np.dtype(object)
22972297

2298-
22992298
@cache_readonly
23002299
def kind(self) -> str:
23012300
if pa.types.is_timestamp(self.pyarrow_dtype):

pandas/tests/dtypes/test_dtypes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
is_string_dtype,
2121
)
2222
from pandas.core.dtypes.dtypes import (
23-
ArrowDtype,
2423
CategoricalDtype,
2524
DatetimeTZDtype,
2625
IntervalDtype,
@@ -1104,6 +1103,7 @@ def test_update_dtype_errors(self, bad_dtype):
11041103
with pytest.raises(ValueError, match=msg):
11051104
dtype.update_dtype(bad_dtype)
11061105

1106+
11071107
@pytest.mark.parametrize(
11081108
"dtype", [CategoricalDtype, IntervalDtype, DatetimeTZDtype, PeriodDtype]
11091109
)

0 commit comments

Comments
 (0)