mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Fix AsyncMock base class in the docs (GH-18008)
This commit is contained in:
parent
54f743eb31
commit
cf288b53e4
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue