diff options
author | Brett Cannon <brett@python.org> | 2013-05-25 15:28:20 (GMT) |
---|---|---|
committer | Brett Cannon <brett@python.org> | 2013-05-25 15:28:20 (GMT) |
commit | 533f1ed3346a00b35894f84e5d8a193b547b60f0 (patch) | |
tree | 8662718d40eb10a8fe8a8d1d565a516467f6bef0 /Doc | |
parent | 2cefb3cf964afa1f269509bba6e6fc664f3d5435 (diff) | |
download | cpython-533f1ed3346a00b35894f84e5d8a193b547b60f0.zip cpython-533f1ed3346a00b35894f84e5d8a193b547b60f0.tar.gz cpython-533f1ed3346a00b35894f84e5d8a193b547b60f0.tar.bz2 |
Add a missing parenthesis.
Diffstat (limited to 'Doc')
-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 6d1a57e..0da6f49 100644 --- a/Doc/library/unittest.mock.rst +++ b/Doc/library/unittest.mock.rst @@ -468,7 +468,7 @@ the `new_callable` argument to `patch`. mock and unless the function returns the :data:`DEFAULT` singleton the call to the mock will then return whatever the function returns. If the function returns :data:`DEFAULT` then the mock will return its normal - value (from the :attr:`return_value`. + value (from the :attr:`return_value`). An example of a mock that raises an exception (to test exception handling of an API): |