Commit ebf9fd31 authored by Berker Peksag's avatar Berker Peksag

Issue #27531: Update signature of Mock.assert_not_called method

Since 01ae1ac2daf4, it doesn't accept any arguments.

Patch by Michael Killough.
parent 8c126f17
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment