Skip to content

Commit

Permalink
satisfy almighty mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
CucumisSativus committed Nov 23, 2021
1 parent c75f04c commit d7aae45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_maybe/test_maybe_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

def test_maybe_filter():
"""Ensures that .filter works correctly."""
def factory(argument: int) -> bool:
def factory(argument):
return argument % 2 == 0

assert Some(5).filter(factory) == Nothing
Expand Down

0 comments on commit d7aae45

Please sign in to comment.