Skip to content

Commit 3f998d4

Browse files
committed
TST: Fix formatting in test_assert_index_equal (via pre-commit)
1 parent ddf650e commit 3f998d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/util/test_assert_index_equal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,11 +318,11 @@ def test_assert_multi_index_dtype_check_categorical(check_categorical):
318318
else:
319319
tm.assert_index_equal(idx1, idx2, check_categorical=check_categorical)
320320

321+
321322
def test_assert_index_equal_categorical_mismatch_categories():
322323
# GH#61941
323324
ci1 = CategoricalIndex(["a", "b", "c"], categories=["a", "b", "c"], ordered=False)
324325
ci2 = CategoricalIndex(["a", "x", "c"], categories=["a", "b", "c"], ordered=False)
325-
326+
326327
with pytest.raises(AssertionError, match="Index are different"):
327328
tm.assert_index_equal(ci1, ci2, check_exact=False, check_categorical=True)
328-

0 commit comments

Comments
 (0)