summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBrett Cannon <brett@python.org>2013-05-25 15:29:03 (GMT)
committerBrett Cannon <brett@python.org>2013-05-25 15:29:03 (GMT)
commit21cc628e4cb0e2d8bffb99bd8d7fd2868b592983 (patch)
treea9c6ae03e38f97c4c6cee4003bb45f11a536991f /Doc
parentb39567a00e17122a3fd689e225c2b710ac96199b (diff)
parent533f1ed3346a00b35894f84e5d8a193b547b60f0 (diff)
downloadcpython-21cc628e4cb0e2d8bffb99bd8d7fd2868b592983.zip
cpython-21cc628e4cb0e2d8bffb99bd8d7fd2868b592983.tar.gz
cpython-21cc628e4cb0e2d8bffb99bd8d7fd2868b592983.tar.bz2
merge
Diffstat (limited to 'Doc')
-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 be63728..be37868 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -467,7 +467,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):