Skip to content

Commit 8fd5e61

Browse files
committed
TST: Added test cases
1 parent bce3087 commit 8fd5e61

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pandas/tests/util/test_assert_series_equal.py

+8
Original file line numberDiff line numberDiff line change
@@ -423,3 +423,11 @@ def test_check_dtype_false_different_reso(dtype):
423423

424424
with pytest.raises(AssertionError, match="Series are different"):
425425
tm.assert_series_equal(ser_s, ser_ms, check_dtype=False)
426+
427+
428+
def test_check_exact_true_for_int_dtype():
429+
# GH 55882
430+
left = Series([1577840521123000])
431+
right = Series([1577840521123543])
432+
with pytest.raises(AssertionError, match="Series are different"):
433+
tm.assert_series_equal(left, right)

0 commit comments

Comments
 (0)