style(test): ruff format tdd timer cancel race steps (rebase fixup)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-14 22:54:44 -04:00
committed by Forgejo
parent 12b864edd8
commit 3ffc8f6a8e
@@ -142,6 +142,7 @@ def step_trigger_timer_race(context: Context) -> None:
# Ensure client is in running state
if client.state not in ("running",):
from contextlib import suppress as _suppress
client._started = False
client._shutting_down = False
client._state = "idle"
@@ -166,6 +167,7 @@ def step_trigger_timer_race(context: Context) -> None:
def shutdown_repeatedly() -> None:
from contextlib import suppress
for _j in range(50):
if client.state not in ("running",):
break