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 dec231a commit 9286677Copy full SHA for 9286677
Doc/library/unittest.mock.rst
@@ -262,7 +262,7 @@ the *new_callable* argument to :func:`patch`.
262
used to set attributes on the mock after it is created. See the
263
:meth:`configure_mock` method for details.
264
265
- .. method:: assert_called(*args, **kwargs)
+ .. method:: assert_called()
266
267
Assert that the mock was called at least once.
268
@@ -273,7 +273,7 @@ the *new_callable* argument to :func:`patch`.
273
274
.. versionadded:: 3.6
275
276
- .. method:: assert_called_once(*args, **kwargs)
+ .. method:: assert_called_once()
277
278
Assert that the mock was called exactly once.
279
0 commit comments