Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dc69f69

Browse files
massichMariatta
authored andcommitted
Fix typo in unittest.mock documentation: manger -> manager (GH-12352)
1 parent f683f46 commit dc69f69

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/unittest.mock.rst

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

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

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

0 commit comments

Comments
 (0)