Skip to content

Commit 76ff715

Browse files
Mariattamassich
andauthored
Fix typo in unittest.mock documentation: manger -> manager (GH-12352)
(cherry picked from commit dc69f69) Co-authored-by: Joan Massich <[email protected]>
1 parent c49521d commit 76ff715

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/unittest.mock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@ passed by keyword *after* any of the standard arguments created by :func:`patch`
14181418
>>> test_function()
14191419

14201420
If :func:`patch.multiple` is used as a context manager, the value returned by the
1421-
context manger is a dictionary where created mocks are keyed by name:
1421+
context manager is a dictionary where created mocks are keyed by name::
14221422

14231423
>>> with patch.multiple('__main__', thing=DEFAULT, other=DEFAULT) as values:
14241424
... assert 'other' in repr(values['other'])

0 commit comments

Comments
 (0)