asyncio_monkey info:monkey patch asyncio modules for expected behaviour Installation pip install asyncio_monkey Usage # it must be done before any import asyncio statement from asyncio_monkey import patch_all; patch_all() # noqa Features Disables get_event_loop returns currently running loop, even if MainThread loop is None, useful for Python 3.6.0+ docs Disables silent destroying futures inside asyncio.gather source