]> granicus.if.org Git - python/commit
[3.8] bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947) (GH...
authorLisa Roach <lisaroach14@gmail.com>
Sat, 21 Sep 2019 06:00:04 +0000 (23:00 -0700)
committerStéphane Wirtel <stephane@wirtel.be>
Sat, 21 Sep 2019 06:00:04 +0000 (08:00 +0200)
commit865bb685a67798eb98dcf5f3a852e08c77792998
tree3540e95408f03228f7b2c9e1ac6f1e281852dc4b
parentf4e0ceb211e65dc080b64477380dfae923eb1306
[3.8] bpo-38093: Correctly returns AsyncMock for async subclasses. (GH-15947) (GH-16299)

(cherry picked from commit 8b03f943c37e07fb2394acdcfacd066647f9b1fd)

Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
Doc/library/unittest.mock-examples.rst
Lib/unittest/mock.py
Lib/unittest/test/testmock/testasync.py
Lib/unittest/test/testmock/testmagicmethods.py
Misc/NEWS.d/next/Library/2019-09-11-14-45-30.bpo-38093.yQ6k7y.rst [new file with mode: 0644]