Skip to content

Commit 938e84b

Browse files
authored
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618)
1 parent f5cbea6 commit 938e84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/unittest.mock.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@ In this example we monkey patch ``method`` to return ``sentinel.some_object``:
22082208
>>> real.method.return_value = sentinel.some_object
22092209
>>> result = real.method()
22102210
>>> assert result is sentinel.some_object
2211-
>>> sentinel.some_object
2211+
>>> result
22122212
sentinel.some_object
22132213

22142214

0 commit comments

Comments
 (0)