Skip to content

Commit

Permalink
Update tests/test_scheduler.py
Browse files Browse the repository at this point in the history
review suggestion

Co-authored-by: Sam Bull <aa6bs0@sambull.org>
  • Loading branch information
pollydrag and Dreamsorcerer authored Sep 22, 2022
1 parent 6014aac commit 1bd1170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ async def spawn():
jobs.append(await scheduler.spawn(coro(fut)))

asyncio.create_task(spawn())
await asyncio.sleep(0.05)
await asyncio.sleep(0)

assert len(scheduler) == 2
assert scheduler.active_count == 1
Expand Down

0 comments on commit 1bd1170

Please sign in to comment.