[Python-checkins] cpython: Fix typo in unittest.mock docs
michael.foord
python-checkins at python.org
Thu Mar 29 14:46:34 CEST 2012
http://hg.python.org/cpython/rev/ddddd528b2d2
changeset: 75982:ddddd528b2d2
user: Michael Foord <michael at voidspace.org.uk>
date: Thu Mar 29 13:46:50 2012 +0100
summary:
Fix typo in unittest.mock docs
files:
Doc/library/unittest.mock.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -1714,7 +1714,7 @@
`call` is a helper object for making simpler assertions, for comparing
with :attr:`~Mock.call_args`, :attr:`~Mock.call_args_list`,
- :attr:`~Mock.mock_calls` and:attr: `~Mock.method_calls`. `call` can also be
+ :attr:`~Mock.mock_calls` and :attr: `~Mock.method_calls`. `call` can also be
used with :meth:`~Mock.assert_has_calls`.
>>> m = MagicMock(return_value=None)
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list