summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2016-07-17 12:26:46 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2016-07-17 12:26:46 (GMT)
commitebf9fd31a8173372551115d2ddb2b50553565500 (patch)
treee60f9542f8c45a762891e72e1b524dc404f25cd1 /Doc/library
parent8c126f17f09eeb75d3d3c9737150384cd1dd9c03 (diff)
downloadcpython-ebf9fd31a8173372551115d2ddb2b50553565500.zip
cpython-ebf9fd31a8173372551115d2ddb2b50553565500.tar.gz
cpython-ebf9fd31a8173372551115d2ddb2b50553565500.tar.bz2
Issue #27531: Update signature of Mock.assert_not_called method
Since 01ae1ac2daf4, it doesn't accept any arguments. Patch by Michael Killough.
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/unittest.mock.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index 5c9177a..c13f095 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -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.