Skip to content

Commit a6b1503

Browse files
committed
Add whatsnew
1 parent 1b654c9 commit a6b1503

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pandas/_testing/asserters.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -842,7 +842,12 @@ def assert_series_equal(
842842
check_names : bool, default True
843843
Whether to check the Series and Index names attribute.
844844
check_exact : bool, default False
845-
Whether to compare number exactly. Only takes effect for float dtypes.
845+
Whether to compare number exactly.
846+
847+
.. versionchanged:: 2.2.0
848+
849+
Defaults to True for integer dtypes if non of
850+
``check_exact``, ``rtol`` and ``atol`` are specified.
846851
check_datetimelike_compat : bool, default False
847852
Compare datetime-like which is comparable ignoring dtype.
848853
check_categorical : bool, default True

0 commit comments

Comments
 (0)