Skip to content

Latest commit

 

History

History
3 lines (3 loc) · 242 Bytes

2022-06-21-11-40-31.gh-issue-84753.FW1pxO.rst

File metadata and controls

3 lines (3 loc) · 242 Bytes

:func:`inspect.iscoroutinefunction` now properly returns True when an instance of :class:`unittest.mock.AsyncMock` is passed to it. This makes it consistent with behavior of :func:`asyncio.iscoroutinefunction`. Patch by Mehdi ABAAKOUK.