diff options
| author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-11 15:02:54 -0400 |
|---|---|---|
| committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-06-11 15:02:54 -0400 |
| commit | fa089b9b0b926c04e5d57812b7d7653472787965 (patch) | |
| tree | 8dc5960aa04533868f942b0e325df1048ef05999 /Doc/library/unittest.mock.rst | |
| parent | c92bf83a829956e683a3d6bb1ae65aed74d7b92a (diff) | |
| download | cpython-git-fa089b9b0b926c04e5d57812b7d7653472787965.tar.gz | |
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 929ceadbd7..5c9177a9c8 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 ----------- |
