Skip to content

Commit 6c8fc89

Browse files
committed
Comment
1 parent 3ae2256 commit 6c8fc89

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pandas/tests/indexes/categorical/test_category.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ def test_unique(self, data, categories, expected_data, ordered):
199199
expected = CategoricalIndex(expected_data, dtype=dtype)
200200
tm.assert_index_equal(idx.unique(), expected)
201201

202+
# TODO(3.0): remove this test once using_string_dtype() is always True
202203
@pytest.mark.xfail(using_string_dtype(), reason="repr doesn't roundtrip")
203204
def test_repr_roundtrip(self):
204205
ci = CategoricalIndex(["a", "b"], categories=["a", "b"], ordered=True)

0 commit comments

Comments
 (0)