Skip to content

Commit

Permalink
Fixed implicit return in test_shielding_mutate()
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm committed Jan 2, 2025
1 parent 064224c commit e5c43c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_taskgroups.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,8 @@ async def task(task_status: TaskStatus) -> NoReturn:
completed = True
scope.shield = False
await sleep(1)
pytest.fail("Execution should not reach this point")

pytest.fail("Execution should not reach this point")

async with create_task_group() as tg:
await tg.start(task)
Expand Down

0 comments on commit e5c43c4

Please sign in to comment.