[Python-checkins] bpo-38753: AsyncMock added in version 3.8 (GH-17102)

Miss Islington (bot) webhook-mailer at python.org
Tue Dec 24 23:42:28 EST 2019


https://github.com/python/cpython/commit/8c0f0016e2d39f86589187db75012238c4e760e9
commit: 8c0f0016e2d39f86589187db75012238c4e760e9
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-12-24T20:42:24-08:00
summary:

bpo-38753: AsyncMock added in version 3.8 (GH-17102)

(cherry picked from commit 279d8df5e5e8bbd4429420649359f7afcb4c8cce)

Co-authored-by: John Belmonte <john at neggie.net>

files:
M Doc/library/unittest.mock.rst

diff --git a/Doc/library/unittest.mock.rst b/Doc/library/unittest.mock.rst
index ebfaf7d643956..e92f5545d3eb0 100644
--- a/Doc/library/unittest.mock.rst
+++ b/Doc/library/unittest.mock.rst
@@ -915,6 +915,7 @@ object::
   >>> mock.async_foo
   <AsyncMock name='mock.async_foo' id='...'>
 
+  .. versionadded:: 3.8
 
   .. method:: assert_awaited()
 



More information about the Python-checkins mailing list