Issue #27531: Update signature of Mock.assert_not_called method
Since 01ae1ac2daf4, it doesn't accept any arguments. Patch by Michael Killough.
This commit is contained in:
parent
8c126f17f0
commit
ebf9fd31a8
|
@ -324,7 +324,7 @@ the *new_callable* argument to :func:`patch`.
|
|||
>>> calls = [call(4), call(2), call(3)]
|
||||
>>> mock.assert_has_calls(calls, any_order=True)
|
||||
|
||||
.. method:: assert_not_called(*args, **kwargs)
|
||||
.. method:: assert_not_called()
|
||||
|
||||
Assert the mock was never called.
|
||||
|
||||
|
|
Loading…
Reference in New Issue