Skip to content

Commit

Permalink
fix: mark
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler authored Feb 3, 2024
1 parent c910ca9 commit a835d19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

from a_sync import create_task

@pytest.marks.asyncio
@pytest.mark.asyncio_cooperative
async def test_create_task():
await create_task(coro=asyncio.sleep(0), name='test')

@pytest.marks.asyncio
@pytest.mark.asyncio_cooperative
async def test_persistent_task():
check = False
async def task():
Expand Down

0 comments on commit a835d19

Please sign in to comment.