Fix AsyncMock base class in the docs (GH-18008)

This commit is contained in:
Elena Oat 2020-01-15 01:50:57 -08:00 committed by Chris Withers
parent 54f743eb31
commit cf288b53e4
1 changed files with 1 additions and 1 deletions

View File

@ -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) .. 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 behave so the object is recognized as an async function, and the result of a
call is an awaitable. call is an awaitable.