mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +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:
|
else:
|
||||||
return _call
|
return _call
|
||||||
|
|
||||||
def assert_not_called(_mock_self, *args, **kwargs):
|
def assert_not_called(_mock_self):
|
||||||
"""assert that the mock was never called.
|
"""assert that the mock was never called.
|
||||||
"""
|
"""
|
||||||
self = _mock_self
|
self = _mock_self
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue