summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorElena Oat <oat.elena@gmail.com>2020-01-15 09:50:57 (GMT)
committerChris Withers <chris@withers.org>2020-01-15 09:50:57 (GMT)
commitcf288b53e418d8e93626e3d87c9926067d3b3147 (patch)
tree1dc2d75a18d4d2fb95d3ad41382d4cfa0d57707a /Doc
parent54f743eb315f00b0ff45e115dde7a5d506034153 (diff)
downloadcpython-cf288b53e418d8e93626e3d87c9926067d3b3147.zip
cpython-cf288b53e418d8e93626e3d87c9926067d3b3147.tar.gz
cpython-cf288b53e418d8e93626e3d87c9926067d3b3147.tar.bz2
Fix AsyncMock base class in the docs (GH-18008)
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 e92f554..8394304 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -854,7 +854,7 @@ object::
.. class:: AsyncMock(spec=None, side_effect=None, return_value=DEFAULT, wraps=None, name=None, spec_set=None, unsafe=False, **kwargs)
- An asynchronous version of :class:`Mock`. The :class:`AsyncMock` object will
+ An asynchronous version of :class:`MagicMock`. The :class:`AsyncMock` object will
behave so the object is recognized as an async function, and the result of a
call is an awaitable.