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

Lisa Roach report at bugs.python.org
Tue Sep 10 07:18:48 EDT 2019


Lisa Roach <lisaroach14 at gmail.com> added the comment:


New changeset f1a297acb60b88917712450ebd3cfa707e6efd6b by Lisa Roach in branch 'master':
bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)
https://github.com/python/cpython/commit/f1a297acb60b88917712450ebd3cfa707e6efd6b


----------

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


More information about the Python-bugs-list mailing list