Fix py3.6 compatibility

This commit is contained in:
Daniel Miranda 2022-05-23 09:57:09 +01:00
parent 294e022c99
commit 9c21717cb2
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ async def before_and_after(
it = iter(iterable)
transition = asyncio.get_running_loop().create_future()
transition = asyncio.get_event_loop().create_future()
async def true_iterator():
async for elem in it: