[Python-checkins] cpython: Fix markup errors found by "make suspicious".

georg.brandl python-checkins at python.org
Sun Apr 1 13:48:28 CEST 2012


http://hg.python.org/cpython/rev/6fce4022f86b
changeset:   76044:6fce4022f86b
user:        Georg Brandl <georg at python.org>
date:        Sun Apr 01 13:48:26 2012 +0200
summary:
  Fix markup errors found by "make suspicious".

files:
  Doc/library/unittest.mock-examples.rst |  2 +-
  Doc/library/unittest.mock.rst          |  6 +++---
  2 files changed, 4 insertions(+), 4 deletions(-)


diff --git a/Doc/library/unittest.mock-examples.rst b/Doc/library/unittest.mock-examples.rst
--- a/Doc/library/unittest.mock-examples.rst
+++ b/Doc/library/unittest.mock-examples.rst
@@ -39,7 +39,7 @@
 
 Once the mock has been called its :attr:`~Mock.called` attribute is set to
 `True`. More importantly we can use the :meth:`~Mock.assert_called_with` or
-:meth`~Mock.assert_called_once_with` method to check that it was called with
+:meth:`~Mock.assert_called_once_with` method to check that it was called with
 the correct arguments.
 
 This example tests that calling `ProductionClass().method` results in a call to
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
@@ -1712,9 +1712,9 @@
 
 .. function:: call(*args, **kwargs)
 
-    `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
+    `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
     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