8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f03b4c8 commit f9590edCopy full SHA for f9590ed
Doc/library/unittest.mock.rst
@@ -286,7 +286,7 @@ the *new_callable* argument to :func:`patch`.
286
used to set attributes on the mock after it is created. See the
287
:meth:`configure_mock` method for details.
288
289
- .. method:: assert_called(*args, **kwargs)
+ .. method:: assert_called()
290
291
Assert that the mock was called at least once.
292
@@ -297,7 +297,7 @@ the *new_callable* argument to :func:`patch`.
297
298
.. versionadded:: 3.6
299
300
- .. method:: assert_called_once(*args, **kwargs)
+ .. method:: assert_called_once()
301
302
Assert that the mock was called exactly once.
303
0 commit comments