summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-06-11 19:06:08 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-06-11 19:06:08 (GMT)
commit4da945f361cda03104548f49bad690a54b0209f7 (patch)
treeed25742482aca03601d01a6c6fccc65a5e0ded2c /Doc/library/unittest.mock.rst
parente670be2273f93dfc262e16ebc27f0d453f15fa21 (diff)
parentfa089b9b0b926c04e5d57812b7d7653472787965 (diff)
downloadcpython-4da945f361cda03104548f49bad690a54b0209f7.zip
cpython-4da945f361cda03104548f49bad690a54b0209f7.tar.gz
cpython-4da945f361cda03104548f49bad690a54b0209f7.tar.bz2
Merge Issue #22558.
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r--Doc/library/unittest.mock.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index f2ebf11..f559d71 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -4,11 +4,16 @@
.. module:: unittest.mock
:synopsis: Mock object library.
+
.. moduleauthor:: Michael Foord <michael@python.org>
.. currentmodule:: unittest.mock
.. versionadded:: 3.3
+**Source code:** :source:`Lib/unittest/mock.py`
+
+--------------
+
:mod:`unittest.mock` is a library for testing in Python. It allows you to
replace parts of your system under test with mock objects and make assertions
about how they have been used.
@@ -32,8 +37,6 @@ used by many mocking frameworks.
There is a backport of :mod:`unittest.mock` for earlier versions of Python,
available as `mock on PyPI <https://pypi.python.org/pypi/mock>`_.
-**Source code:** :source:`Lib/unittest/mock.py`
-
Quick Guide
-----------