mirror of
https://github.com/python/cpython.git
synced 2025-11-01 06:01:29 +00:00
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 | ||