diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index a5706d8baa614..6df2c8faf7aee 100644 --- a/pandas/tests/test_algos.py +++ b/pandas/tests/test_algos.py @@ -767,7 +767,7 @@ def test_same_object_is_in(self): # with similar behavior, then we at least should # fall back to usual python's behavior: "a in [a] == True" class LikeNan: - def __eq__(self): + def __eq__(self, other): return False def __hash__(self): diff --git a/setup.cfg b/setup.cfg index 149af6c283d05..64494bf84363e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -220,9 +220,6 @@ ignore_errors=True [mypy-pandas.tests.series.test_operators] ignore_errors=True -[mypy-pandas.tests.test_algos] -ignore_errors=True - [mypy-pandas.tests.test_base] ignore_errors=True