]> granicus.if.org Git - python/commitdiff
Removes unused varargs and varkwargs from assert_not_called().
authorKushal Das <kushaldas@gmail.com>
Wed, 16 Apr 2014 20:24:07 +0000 (01:54 +0530)
committerKushal Das <kushaldas@gmail.com>
Wed, 16 Apr 2014 20:24:07 +0000 (01:54 +0530)
Lib/unittest/mock.py

index 6c00bc66f8fbe5f349a363d034fc43b254e93bb4..d9c2ee96b09193954c868b4845796039f865b403 100644 (file)
@@ -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