bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618) (GH-27619)

(cherry picked from commit 938e84b4fa)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2021-08-06 08:38:21 -07:00 committed by GitHub
parent 791c28a56f
commit 8c17db6cd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2207,7 +2207,7 @@ In this example we monkey patch ``method`` to return ``sentinel.some_object``:
>>> real.method.return_value = sentinel.some_object
>>> result = real.method()
>>> assert result is sentinel.some_object
>>> sentinel.some_object
>>> result
sentinel.some_object