From 68290f48953340c5ec063cd12e3c37959122f081 Mon Sep 17 00:00:00 2001 From: Kushal Das Date: Thu, 17 Apr 2014 01:54:07 +0530 Subject: Removes unused varargs and varkwargs from assert_not_called(). --- Lib/unittest/mock.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12