summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-08-05 21:10:14 (GMT)
committerGitHub <noreply@github.com>2021-08-05 21:10:14 (GMT)
commit0a642d57736be6802c712bdbf2dcff39fe8a39b7 (patch)
treef223063e9dfed207dbbea6adc1796e217d6420d3 /Doc
parentb1bd16c2528295b8b28395827f6b589dccea0624 (diff)
downloadcpython-0a642d57736be6802c712bdbf2dcff39fe8a39b7.zip
cpython-0a642d57736be6802c712bdbf2dcff39fe8a39b7.tar.gz
cpython-0a642d57736be6802c712bdbf2dcff39fe8a39b7.tar.bz2
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618)
(cherry picked from commit 938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
Diffstat (limited to 'Doc')
-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 f1c0757..d0640b4 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