Skip to content

Commit 52e534d

Browse files
committed
BUG: None comparison evaluates to True pandas-dev#26504
1 parent 6a88d91 commit 52e534d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tests/arrays/categorical/test_operators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def test_comparison_with_known_scalars(self):
196196

197197
tm.assert_numpy_array_equal(cat1 <= 2,
198198
np.array([True, True, False, False]))
199-
tm.assert_numpy_array_equal(cat1 <= 2,
199+
tm.assert_numpy_array_equal(cat2 <= 2,
200200
np.array([False, True, True, False]))
201201

202202
@pytest.mark.parametrize('data,reverse,base', [

0 commit comments

Comments
 (0)