summaryrefslogtreecommitdiffstats
path: root/Lib/unittest
diff options
context:
space:
mode:
authorKushal Das <kushaldas@gmail.com>2014-04-16 20:24:07 (GMT)
committerKushal Das <kushaldas@gmail.com>2014-04-16 20:24:07 (GMT)
commit68290f48953340c5ec063cd12e3c37959122f081 (patch)
tree8b09c6e586a57f2f755cfe58371cc3fc7da42b4c /Lib/unittest
parent3ae4f992d7af38e5c667eb57a1882eaf04c3c2d9 (diff)
downloadcpython-68290f48953340c5ec063cd12e3c37959122f081.zip
cpython-68290f48953340c5ec063cd12e3c37959122f081.tar.gz
cpython-68290f48953340c5ec063cd12e3c37959122f081.tar.bz2
Removes unused varargs and varkwargs from assert_not_called().
Diffstat (limited to 'Lib/unittest')
-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 6c00bc6..d9c2ee9 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