Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
phofl committed Jan 4, 2024
1 parent 987bb6c commit 8b287cf
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pandas/_testing/asserters.py
Original file line number Diff line number Diff line change
Expand Up @@ -888,15 +888,12 @@ def assert_series_equal(
and rtol is lib.no_default
and atol is lib.no_default
):
if (
check_exact = (
is_numeric_dtype(left.dtype)
and not is_float_dtype(left.dtype)
or is_numeric_dtype(right.dtype)
and not is_float_dtype(right.dtype)
):
check_exact = True
else:
check_exact = False
)
elif check_exact is lib.no_default:
check_exact = False

Expand Down

0 comments on commit 8b287cf

Please sign in to comment.