summaryrefslogtreecommitdiff
path: root/Lib/unittest/mock.py
diff options
context:
space:
mode:
authorKushal Das <kushaldas@gmail.com>2014-04-17 01:54:07 +0530
committerKushal Das <kushaldas@gmail.com>2014-04-17 01:54:07 +0530
commit68290f48953340c5ec063cd12e3c37959122f081 (patch)
tree8b09c6e586a57f2f755cfe58371cc3fc7da42b4c /Lib/unittest/mock.py
parent3ae4f992d7af38e5c667eb57a1882eaf04c3c2d9 (diff)
downloadcpython-git-68290f48953340c5ec063cd12e3c37959122f081.tar.gz
Removes unused varargs and varkwargs from assert_not_called().
Diffstat (limited to 'Lib/unittest/mock.py')
-rw-r--r--Lib/unittest/mock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/unittest/mock.py b/Lib/unittest/mock.py
index 6c00bc66f8..d9c2ee96b0 100644
--- a/Lib/unittest/mock.py
+++ b/Lib/unittest/mock.py
@@ -758,7 +758,7 @@ class NonCallableMock(Base):
else:
return _call
- def assert_not_called(_mock_self, *args, **kwargs):
+ def assert_not_called(_mock_self):
"""assert that the mock was never called.
"""
self = _mock_self