]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-38753: AsyncMock added in version 3.8 (GH-17102)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Dec 2019 04:42:24 +0000 (20:42 -0800)
committerGitHub <noreply@github.com>
Wed, 25 Dec 2019 04:42:24 +0000 (20:42 -0800)
(cherry picked from commit 279d8df5e5e8bbd4429420649359f7afcb4c8cce)

Co-authored-by: John Belmonte <john@neggie.net>
Doc/library/unittest.mock.rst

index ebfaf7d643956aaaddea43679f8f25f7fcb7b653..e92f5545d3eb0573da999ce88a1c2087162a6da8 100644 (file)
@@ -915,6 +915,7 @@ object::
   >>> mock.async_foo
   <AsyncMock name='mock.async_foo' id='...'>
 
+  .. versionadded:: 3.8
 
   .. method:: assert_awaited()