Commits

Georg Brandl committed 6fce402

Fix markup errors found by "make suspicious".

Comments (0)

Files changed (2)

Doc/library/unittest.mock-examples.rst

 
 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

Doc/library/unittest.mock.rst

 
 .. 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)