Fix typo in unittest.mock documentation: manger -> manager (GH-12352)

(cherry picked from commit dc69f69f14)

Co-authored-by: Joan Massich <mailsik@gmail.com>
This commit is contained in:
Mariatta 2019-03-17 16:53:06 -07:00 committed by GitHub
parent c49521dfd1
commit 76ff715e03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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'])