summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack DeVries <58614260+jdevries3133@users.noreply.github.com>2021-08-05 16:48:18 -0400
committerGitHub <noreply@github.com>2021-08-05 13:48:18 -0700
commit938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e (patch)
treed8cea7cfe8a23363fdcb6c9fef8cde954e5ff29b
parentf5cbea6b1b5fc39cca377c6cc93f222916015fc4 (diff)
downloadcpython-git-938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e.tar.gz
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618)
-rw-r--r--Doc/library/unittest.mock.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index e760321ba1..2f82fded99 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -2208,7 +2208,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