summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.mock.rst
diff options
context:
space:
mode:
authorJack DeVries <58614260+jdevries3133@users.noreply.github.com>2021-08-05 20:48:18 (GMT)
committerGitHub <noreply@github.com>2021-08-05 20:48:18 (GMT)
commit938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e (patch)
treed8cea7cfe8a23363fdcb6c9fef8cde954e5ff29b /Doc/library/unittest.mock.rst
parentf5cbea6b1b5fc39cca377c6cc93f222916015fc4 (diff)
downloadcpython-938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e.zip
cpython-938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e.tar.gz
cpython-938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e.tar.bz2
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618)
Diffstat (limited to 'Doc/library/unittest.mock.rst')
-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 e760321..2f82fde 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