Skip to content

Commit

Permalink
refact: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
giuliano-macedo committed Apr 24, 2022
1 parent 88745e4 commit 1455a3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/common/test_batched_gather.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ async def sleep_and_return(delay: Optional[float]) -> float:
return delay


async def run_and_join_results(collection: List[float], number_of_workesrs: int) -> List[float]:
return sum([b async for b in batched_gather(sleep_and_return, collection, number_of_workesrs)], [])
async def run_and_join_results(collection: List[float], number_of_workers: int) -> List[float]:
return sum([b async for b in batched_gather(sleep_and_return, collection, number_of_workers)], [])


async def run_and_join_results_with_exception(
Expand Down

0 comments on commit 1455a3d

Please sign in to comment.