Skip to content

Commit

Permalink
tests: fix for python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
pohmelie committed Dec 3, 2023
1 parent 078eb76 commit 06a4de0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_asyncio.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,8 @@ async def task(self):

async def start(self):
self.add_task(self.task())
# ensure task scheduled by asyncio event loop
await asyncio.sleep(0)


@pytest.mark.asyncio
Expand Down

0 comments on commit 06a4de0

Please sign in to comment.