Skip to content

Commit 851ca1a

Browse files
lrm25WillAyd
authored andcommitted
Fix mypy errors for pandas\tests\* #28926 (test_algos.py) (#28960)
1 parent 06a6b49 commit 851ca1a

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Diff for: pandas/tests/test_algos.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ def test_same_object_is_in(self):
767767
# with similar behavior, then we at least should
768768
# fall back to usual python's behavior: "a in [a] == True"
769769
class LikeNan:
770-
def __eq__(self):
770+
def __eq__(self, other):
771771
return False
772772

773773
def __hash__(self):

Diff for: setup.cfg

-3
Original file line numberDiff line numberDiff line change
@@ -220,9 +220,6 @@ ignore_errors=True
220220
[mypy-pandas.tests.series.test_operators]
221221
ignore_errors=True
222222

223-
[mypy-pandas.tests.test_algos]
224-
ignore_errors=True
225-
226223
[mypy-pandas.tests.test_base]
227224
ignore_errors=True
228225

0 commit comments

Comments
 (0)