Fix docs for assert_called and assert_called_once (#15197)
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index 46e8ef3..19e9715 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -286,7 +286,7 @@
used to set attributes on the mock after it is created. See the
:meth:`configure_mock` method for details.
- .. method:: assert_called(*args, **kwargs)
+ .. method:: assert_called()
Assert that the mock was called at least once.
@@ -297,7 +297,7 @@
.. versionadded:: 3.6
- .. method:: assert_called_once(*args, **kwargs)
+ .. method:: assert_called_once()
Assert that the mock was called exactly once.