Skip to content

Commit 27a3271

Browse files
CLN: remove redundant issubclass assertion in TestDatetimeTZDtype (#63123)
1 parent 0e0bd86 commit 27a3271

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pandas/tests/dtypes/test_dtypes.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,6 @@ def test_subclass(self):
294294
a = DatetimeTZDtype.construct_from_string("datetime64[ns, US/Eastern]")
295295
b = DatetimeTZDtype.construct_from_string("datetime64[ns, CET]")
296296

297-
assert issubclass(type(a), type(a))
298297
assert issubclass(type(a), type(b))
299298

300299
def test_compat(self, dtype):
@@ -466,7 +465,6 @@ def test_subclass(self):
466465
a = PeriodDtype("period[D]")
467466
b = PeriodDtype("period[3D]")
468467

469-
assert issubclass(type(a), type(a))
470468
assert issubclass(type(a), type(b))
471469

472470
def test_identity(self):
@@ -721,7 +719,6 @@ def test_subclass(self):
721719
a = IntervalDtype("interval[int64, right]")
722720
b = IntervalDtype("interval[int64, right]")
723721

724-
assert issubclass(type(a), type(a))
725722
assert issubclass(type(a), type(b))
726723

727724
def test_is_dtype(self, dtype):

0 commit comments

Comments
 (0)