mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +00:00
Fix typo in unittest.mock documentation: manger -> manager (GH-12352)
This commit is contained in:
parent
f683f46425
commit
dc69f69f14
1 changed files with 1 additions and 1 deletions
|
|
@ -1440,7 +1440,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'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue