[issue37251] Mocking a MagicMock with a function spec results in an AsyncMock

Karthikeyan Singaravelan report at bugs.python.org
Wed Jun 12 14:16:29 EDT 2019


Karthikeyan Singaravelan <tir.karthi at gmail.com> added the comment:

I will wait for a couple of days for suggestions and will raise a PR to check for __code__ to be a CodeType. Thanks.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37251>
_______________________________________


More information about the Python-bugs-list mailing list