Skip to content

Commit

Permalink
To pass Python 3 test.
Browse files Browse the repository at this point in the history
  • Loading branch information
eriknw committed Apr 17, 2016
1 parent b61ab62 commit 41f00fc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions toolz/tests/test_inspect_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ def check_curry(func, args, kwargs, incomplete=True):
curry(func, *args)(**kwargs)
curry(func, **kwargs)(*args)
curry(func, *args, **kwargs)()
if not isinstance(func, type(lambda: None)):
return None
return incomplete
except ValueError:
return True
Expand Down

0 comments on commit 41f00fc

Please sign in to comment.