]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in unittest.mock documentation: manger -> manager (GH-12352)
authorMariatta <Mariatta@users.noreply.github.com>
Sun, 17 Mar 2019 23:53:06 +0000 (16:53 -0700)
committerGitHub <noreply@github.com>
Sun, 17 Mar 2019 23:53:06 +0000 (16:53 -0700)
(cherry picked from commit dc69f69f14fb89511d018a3927fc6378a58d2def)

Co-authored-by: Joan Massich <mailsik@gmail.com>
Doc/library/unittest.mock.rst

index 6daf0feca3ce00f2f7ab8b7db213d8c9bf4ba34b..b76ae712a971b719e2ecd19fd28f3b8a153e8c07 100644 (file)
@@ -1418,7 +1418,7 @@ passed by keyword *after* any of the standard arguments created by :func:`patch`
     >>> test_function()
 
 If :func:`patch.multiple` is used as a context manager, the value returned by the
-context manger is a dictionary where created mocks are keyed by name:
+context manager is a dictionary where created mocks are keyed by name::
 
     >>> with patch.multiple('__main__', thing=DEFAULT, other=DEFAULT) as values:
     ...     assert 'other' in repr(values['other'])