Skip to content

Commit c64a8d3

Browse files
junjunjunkJun Kudo
authored and
Jun Kudo
committed
CLN: change test function name
1 parent cc7d3b5 commit c64a8d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/tests/arrays/categorical/test_missing.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,12 @@ def test_use_inf_as_na_outside_context(self, values, expected):
149149
expected = DataFrame(expected)
150150
tm.assert_frame_equal(result, expected)
151151

152-
def test_compare_unequal(self):
152+
def test_compare_categorical_with_missing(self):
153153
# GH 28384
154154
s1 = Series(["a", "b", np.nan], dtype="category")
155155
s2 = Series(["b", "a", "a"], dtype="category")
156156

157157
result = s1 != s2
158-
expected = Series([True, True, True], dtype=bool)
158+
expected = Series([True, True, True], dtype="bool")
159159

160160
tm.assert_series_equal(result, expected)

0 commit comments

Comments
 (0)