mirror of
https://github.com/python/cpython.git
synced 2024-11-25 09:39:56 +01:00
4261b6bffc
The inspect version was not working with unittest.mock.AsyncMock. The fix introduces special-casing of AsyncMock in `inspect.iscoroutinefunction` equivalent to the one performed in `asyncio.iscoroutinefunction`. Co-authored-by: Łukasz Langa <lukasz@langa.pl> |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
_log.py | ||
async_case.py | ||
case.py | ||
loader.py | ||
main.py | ||
mock.py | ||
result.py | ||
runner.py | ||
signals.py | ||
suite.py | ||
util.py |