Skip to content

Commit c3ecb84

Browse files
committed
TST: Fix failing test cases
1 parent 8fd5e61 commit c3ecb84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/_testing/asserters.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,8 @@ def assert_series_equal(
924924
if (
925925
is_integer_dtype(left.dtype)
926926
and is_integer_dtype(right.dtype)
927-
and left.dtype == right.dtype
927+
and isinstance(left._values, type(right._values))
928+
and isinstance(right._values, type(left._values))
928929
):
929930
check_exact = True
930931

0 commit comments

Comments
 (0)