Author matthew.suozzo
Recipients hroncok, jcline, lisroach, mariocj89, matthew.suozzo, miss-islington, xtreak
Date 2021-04-10.03:22:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618024974.3.0.164702790866.issue37251@roundup.psfhosted.org>
In-reply-to
Content
I don't think this was actually fixed for the create_autospec case. create_autospec still uses the only is_async_func check to enable use of AsyncMock and that still does a __code__ check.

There was a test submitted to check this case but the test itself was bugged and discovered in the process of implementing https://bugs.python.org/issue43478.
History
Date User Action Args
2021-04-10 03:22:54matthew.suozzosetrecipients: + matthew.suozzo, lisroach, hroncok, mariocj89, miss-islington, xtreak, jcline
2021-04-10 03:22:54matthew.suozzosetmessageid: <1618024974.3.0.164702790866.issue37251@roundup.psfhosted.org>
2021-04-10 03:22:54matthew.suozzolinkissue37251 messages
2021-04-10 03:22:54matthew.suozzocreate