diff options
author | Kushal Das <kushaldas@gmail.com> | 2014-04-16 20:24:07 (GMT) |
---|---|---|
committer | Kushal Das <kushaldas@gmail.com> | 2014-04-16 20:24:07 (GMT) |
commit | 68290f48953340c5ec063cd12e3c37959122f081 (patch) | |
tree | 8b09c6e586a57f2f755cfe58371cc3fc7da42b4c /Lib/unittest | |
parent | 3ae4f992d7af38e5c667eb57a1882eaf04c3c2d9 (diff) | |
download | cpython-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.py | 2 |
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 |