From 952cb0f219885cf8dc90447b42378a14f906ffaa Mon Sep 17 00:00:00 2001 From: Rustam Ali Date: Sat, 15 Nov 2025 20:51:49 +0530 Subject: [PATCH] CLN: remove redundant issubclass assertion in TestDatetimeTZDtype --- pandas/tests/dtypes/test_dtypes.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pandas/tests/dtypes/test_dtypes.py b/pandas/tests/dtypes/test_dtypes.py index 95be5f3768be6..c27d9dafd5551 100644 --- a/pandas/tests/dtypes/test_dtypes.py +++ b/pandas/tests/dtypes/test_dtypes.py @@ -294,7 +294,6 @@ def test_subclass(self): a = DatetimeTZDtype.construct_from_string("datetime64[ns, US/Eastern]") b = DatetimeTZDtype.construct_from_string("datetime64[ns, CET]") - assert issubclass(type(a), type(a)) assert issubclass(type(a), type(b)) def test_compat(self, dtype): @@ -466,7 +465,6 @@ def test_subclass(self): a = PeriodDtype("period[D]") b = PeriodDtype("period[3D]") - assert issubclass(type(a), type(a)) assert issubclass(type(a), type(b)) def test_identity(self): @@ -721,7 +719,6 @@ def test_subclass(self): a = IntervalDtype("interval[int64, right]") b = IntervalDtype("interval[int64, right]") - assert issubclass(type(a), type(a)) assert issubclass(type(a), type(b)) def test_is_dtype(self, dtype):