Skip to content

Commit 8f84512

Browse files
Apply suggestion from @jorisvandenbossche
1 parent 37f2867 commit 8f84512

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/arrays/categorical/test_repr.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ def test_categorical_str_repr(self):
546546
expected = "[1, '2', 3, 4]\nCategories (4, object): [1, 3, 4, '2']"
547547
assert result == expected
548548

549-
def test_categorical_with_pandas_series(self, string_dtype_no_object):
550-
# GH 63045
549+
def test_categorical_with_string_dtype(self, string_dtype_no_object):
550+
# GH 63045 - ensure categories are quoted for string dtypes
551551
s = Series(
552552
["apple", "banana", "cherry", "cherry"], dtype=string_dtype_no_object
553553
)

0 commit comments

Comments
 (0)