We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 987bb6c commit 8b287cfCopy full SHA for 8b287cf
pandas/_testing/asserters.py
@@ -888,15 +888,12 @@ def assert_series_equal(
888
and rtol is lib.no_default
889
and atol is lib.no_default
890
):
891
- if (
+ check_exact = (
892
is_numeric_dtype(left.dtype)
893
and not is_float_dtype(left.dtype)
894
or is_numeric_dtype(right.dtype)
895
and not is_float_dtype(right.dtype)
896
- ):
897
- check_exact = True
898
- else:
899
- check_exact = False
+ )
900
elif check_exact is lib.no_default:
901
check_exact = False
902
0 commit comments