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

miss-islington report at bugs.python.org
Tue Sep 10 09:16:03 EDT 2019


miss-islington <mariatta.wijaya+miss-islington at gmail.com> added the comment:


New changeset c3008dd480d645678409273eecbfd24bbc9669d7 by Miss Islington (bot) in branch '3.8':
bpo-37251: Removes __code__ check from _is_async_obj. (GH-15830)
https://github.com/python/cpython/commit/c3008dd480d645678409273eecbfd24bbc9669d7


----------
nosy: +miss-islington

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


More information about the Python-bugs-list mailing list