blob: 5c329bfdf8a00a6099f38e1a96bcbeef6b161f8e [file]
import asyncio
class FutureLike:
def __await__(self):
yield from asyncio.sleep(2)
async def foo():
<warning descr="Coroutine 'FutureLike' is not awaited">FutureLike()</warning>