]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18190)
authorMatthew Kokotovich <mkokotovich@gmail.com>
Sun, 26 Jan 2020 15:30:27 +0000 (09:30 -0600)
committerChris Withers <chris@withers.org>
Sun, 26 Jan 2020 15:30:27 +0000 (15:30 +0000)
commit19be85c76503535c101b38194d282187de0ff631
treee305fbe463f2f7da5cd62b25b92b2efcd94196e9
parenteebcff8c071b38b53bd429892524ba8518cbeb98
[3.8] bpo-39082: Allow AsyncMock to correctly patch static/class methods (GH-18190)

(cherry picked from commit 62865f4532094017a9b780b704686ca9734bc329)

Co-authored-by: Matthew Kokotovich <mkokotovich@gmail.com>
Lib/unittest/mock.py
Lib/unittest/test/testmock/testasync.py
Misc/NEWS.d/next/Library/2020-01-24-13-24-35.bpo-39082.qKgrq_.rst [new file with mode: 0644]