Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5cbea6 commit 938e84bCopy full SHA for 938e84b
1 file changed
Doc/library/unittest.mock.rst
@@ -2208,7 +2208,7 @@ In this example we monkey patch ``method`` to return ``sentinel.some_object``:
2208
>>> real.method.return_value = sentinel.some_object
2209
>>> result = real.method()
2210
>>> assert result is sentinel.some_object
2211
- >>> sentinel.some_object
+ >>> result
2212
sentinel.some_object
2213
2214
0 commit comments