Skip to content

Commit 8c17db6

Browse files
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618) (GH-27619)
(cherry picked from commit 938e84b) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
1 parent 791c28a commit 8c17db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/unittest.mock.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -2207,7 +2207,7 @@ In this example we monkey patch ``method`` to return ``sentinel.some_object``:
22072207
>>> real.method.return_value = sentinel.some_object
22082208
>>> result = real.method()
22092209
>>> assert result is sentinel.some_object
2210-
>>> sentinel.some_object
2210+
>>> result
22112211
sentinel.some_object
22122212

22132213

0 commit comments

Comments
 (0)