This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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
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: <>
2021-04-10 03:22:54matthew.suozzolinkissue37251 messages
2021-04-10 03:22:54matthew.suozzocreate