From 272cc31898c6b6dcf2e1a94084b7f4e0d797ba82 Mon Sep 17 00:00:00 2001 From: Luke McCrone Date: Sun, 13 Oct 2019 16:28:36 -0600 Subject: [PATCH] Fix mypy errors for pandas\tests\* #28926 (test_algos.py) --- pandas/tests/test_algos.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandas/tests/test_algos.py b/pandas/tests/test_algos.py index a5706d8baa6148..8b5637d77bba8e 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: object): return False def __hash__(self):