summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock-examples.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2012-04-01 11:48:26 (GMT)
committerGeorg Brandl <georg@python.org>2012-04-01 11:48:26 (GMT)
commit24891672cecbc6436bcf246bd18a3aba0cba4b9b (patch)
treee921608e76b70bfa6795baf75e1e321c1b530fef /Doc/library/unittest.mock-examples.rst
parent3f4a1b30e446471e93af4e6f031383effb930649 (diff)
downloadcpython-24891672cecbc6436bcf246bd18a3aba0cba4b9b.zip
cpython-24891672cecbc6436bcf246bd18a3aba0cba4b9b.tar.gz
cpython-24891672cecbc6436bcf246bd18a3aba0cba4b9b.tar.bz2
Fix markup errors found by "make suspicious".
Diffstat (limited to 'Doc/library/unittest.mock-examples.rst')
-rw-r--r--Doc/library/unittest.mock-examples.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock-examples.rst b/Doc/library/unittest.mock-examples.rst
index a561fdc..d220bb3 100644
--- a/Doc/library/unittest.mock-examples.rst
+++ b/Doc/library/unittest.mock-examples.rst
@@ -39,7 +39,7 @@ and attributes that allow you to make assertions about how it has been used.
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