diff options
author | RĂ©mi Lapeyre <remi.lapeyre@henki.fr> | 2019-08-29 06:15:53 (GMT) |
---|---|---|
committer | Ned Deily <nad@python.org> | 2019-08-29 06:15:53 (GMT) |
commit | f5896a05edf5df91fb1b55bd481ba5b2a3682f4e (patch) | |
tree | 17f0a2684aa74a71eef8c77a9373eab0625634dc /Doc/library/unittest.mock.rst | |
parent | c96127821ebda50760e788b1213975a0d5bea37f (diff) | |
download | cpython-f5896a05edf5df91fb1b55bd481ba5b2a3682f4e.zip cpython-f5896a05edf5df91fb1b55bd481ba5b2a3682f4e.tar.gz cpython-f5896a05edf5df91fb1b55bd481ba5b2a3682f4e.tar.bz2 |
bpo-35946: Improve assert_called_with documentation (GH-11796)
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r-- | Doc/library/unittest.mock.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 19e9715..304ba53 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -317,8 +317,8 @@ the *new_callable* argument to :func:`patch`. .. method:: assert_called_with(*args, **kwargs) - This method is a convenient way of asserting that calls are made in a - particular way: + This method is a convenient way of asserting that the last call has been + made in a particular way: >>> mock = Mock() >>> mock.method(1, 2, 3, test='wow') |