Skip to content

Commit

Permalink
Fix mypy errors for pandas\tests\* #28926 (test_algos.py)
Browse files Browse the repository at this point in the history
  • Loading branch information
lrm25 committed Oct 13, 2019
1 parent 06a6b49 commit 272cc31
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pandas/tests/test_algos.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 272cc31

Please sign in to comment.