[issue29302] add contextlib.AsyncExitStack

Ilya Kulakov report at bugs.python.org
Sat Aug 19 13:02:00 EDT 2017


Ilya Kulakov added the comment:

> but at the same time rejected by the 'async with' statement.

Perhaps unittest.mock (or type) needs to be adjusted to allow mocking via spec= without subclassing?

> By all means you can submit a PR!

I'll take a look then.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue29302>
_______________________________________


More information about the Python-bugs-list mailing list