diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-11 19:02:54 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-11 19:02:54 (GMT) |
commit | fa089b9b0b926c04e5d57812b7d7653472787965 (patch) | |
tree | 8dc5960aa04533868f942b0e325df1048ef05999 /Doc/library/unittest.mock.rst | |
parent | c92bf83a829956e683a3d6bb1ae65aed74d7b92a (diff) | |
download | cpython-fa089b9b0b926c04e5d57812b7d7653472787965.zip cpython-fa089b9b0b926c04e5d57812b7d7653472787965.tar.gz cpython-fa089b9b0b926c04e5d57812b7d7653472787965.tar.bz2 |
Issue #22558: Add remaining doc links to source code for Python-coded modules.
Reformat header above separator line (added if missing) to a common format.
Patch by Yoni Lavi.
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-rw-r--r-- | Doc/library/unittest.mock.rst | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst index 929cead..5c9177a 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 ----------- |