Fix lints on tests

This commit is contained in:
Nathan Thomas 2024-05-14 16:18:01 -07:00
parent 178168cc68
commit 601241d1fb
8 changed files with 41 additions and 46 deletions

View file

@ -9,9 +9,9 @@ def arun(coro):
def afor(async_gen):
async def _afor(async_gen):
l = []
items = []
async for item in async_gen:
l.append(item)
return l
items.append(item)
return items
return arun(_afor(async_gen))