From: Brett Cannon Date: Sat, 25 May 2013 15:28:20 +0000 (-0400) Subject: Add a missing parenthesis. X-Git-Tag: v3.4.0a1~580^2~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=533f1ed3346a00b35894f84e5d8a193b547b60f0;p=python Add a missing parenthesis. --- diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 6d1a57e21a..0da6f49084 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):