Fix py3.6 compatibility
This commit is contained in:
parent
294e022c99
commit
9c21717cb2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue