Skip to content

Commit

Permalink
Fix new flake8 errors
Browse files Browse the repository at this point in the history
  • Loading branch information
frewsxcv committed Mar 13, 2015
1 parent 9ba5c85 commit 27842ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mock_django/signals.py
Expand Up @@ -27,7 +27,8 @@ def mock_signal_receiver(signal, wraps=None, **kwargs):
>>> assert receiver.call_count = 1
"""
if wraps is None:
wraps = lambda *args, **kwargs: None
def wraps(*args, **kwrags):
return None

receiver = mock.Mock(wraps=wraps)
signal.connect(receiver, **kwargs)
Expand Down

0 comments on commit 27842ae

Please sign in to comment.