Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Dec 16, 2024
1 parent d5ad058 commit 5fd9c50
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 @@ -41,7 +41,7 @@ async def test_spawn_non_bound_loop() -> None:
async def coro() -> None:
await asyncio.sleep(1)

scheduler = asyncio.to_thread(Scheduler)
scheduler = await asyncio.to_thread(Scheduler)
assert scheduler._failed_task is None

job = await scheduler.spawn(coro())
Expand Down

0 comments on commit 5fd9c50

Please sign in to comment.