mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Removes unused varargs and varkwargs from assert_not_called().
This commit is contained in:
parent
3ae4f992d7
commit
68290f4895
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue