Skip to content

Commit 48a19e8

Browse files
committed
fixup! STYLE: fix pylint unneeded-not warnings
1 parent 6f49510 commit 48a19e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pandas/tests/arrays/interval/test_interval.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ def test_arrow_extension_type():
256256

257257
assert p1.closed == "left"
258258
assert p1 == p2
259-
assert p1 != p3
259+
assert not p1 == p3 # pylint: disable=unneeded-not
260260
assert hash(p1) == hash(p2)
261261
assert hash(p1) != hash(p3)
262262

pandas/tests/arrays/period/test_arrow_compat.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def test_arrow_extension_type():
2121

2222
assert p1.freq == "D"
2323
assert p1 == p2
24-
assert p1 != p3
24+
assert not p1 == p3 # pylint: disable=unneeded-not
2525
assert hash(p1) == hash(p2)
2626
assert hash(p1) != hash(p3)
2727

0 commit comments

Comments
 (0)