Skip to content

Commit

Permalink
Try allowing asyncio time to clean up tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-Willemsen committed Oct 31, 2024
1 parent 4bbfaba commit ea412fe
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/core/test_flyer.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import asyncio
import time
from collections.abc import AsyncGenerator, AsyncIterator, Sequence
from typing import Any
Expand Down Expand Up @@ -356,6 +357,9 @@ def flying_plan():
with pytest.raises(Exception, match=match_msg):
RE(flying_plan())

# Try explicitly letting event loop clean up tasks...?
await asyncio.sleep(1.0)


@pytest.mark.parametrize(
["kwargs", "error_msg"],
Expand Down

0 comments on commit ea412fe

Please sign in to comment.