summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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