Skip to content

Commit b3bc7a4

Browse files
committed
Add issue as comment
1 parent b43e5ba commit b3bc7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arrays/categorical/test_astype.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ def test_astype_category(self, dtype_ordered, ordered):
131131
tm.assert_categorical_equal(result, expected)
132132

133133
def test_astype_category_copy_false_nocopy_codes(self):
134+
# GH#62000
134135
cat = Categorical([3, 2, 4, 1])
135-
# ensure that the categories are not copied
136136
assert cat.codes.base is not None
137137

138138
new = cat.astype("category", copy=False)

0 commit comments

Comments
 (0)