diff options
| author | Berker Peksag <berker.peksag@gmail.com> | 2016-07-17 15:26:46 +0300 |
|---|---|---|
| committer | Berker Peksag <berker.peksag@gmail.com> | 2016-07-17 15:26:46 +0300 |
| commit | ebf9fd31a8173372551115d2ddb2b50553565500 (patch) | |
| tree | e60f9542f8c45a762891e72e1b524dc404f25cd1 /Doc/library/unittest.mock.rst | |
| parent | 8c126f17f09eeb75d3d3c9737150384cd1dd9c03 (diff) | |
| download | cpython-git-ebf9fd31a8173372551115d2ddb2b50553565500.tar.gz | |
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/unittest.mock.rst')
| -rw-r--r-- | Doc/library/unittest.mock.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 5c9177a9c8..c13f09512c 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. |
