Skip to content

Commit 08739f2

Browse files
committed
Add unit test and (GH#61941)
1 parent 2b6d3a0 commit 08739f2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pandas/tests/util/test_assert_index_equal.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,5 @@ def test_assert_index_equal_categorical_mismatch_categories():
322322
# GH#61941
323323
ci1 = CategoricalIndex(["a", "b", "c"], categories=["a", "b", "c"], ordered=False)
324324
ci2 = CategoricalIndex(["a", "x", "c"], categories=["a", "b", "c"], ordered=False)
325-
326325
with pytest.raises(AssertionError, match="Index are different"):
327-
tm.assert_index_equal(ci1, ci2, check_exact=False, check_categorical=True)
326+
tm.assert_index_equal(ci1, ci2, check_exact=False, check_categorical=True)

0 commit comments

Comments
 (0)