Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Format the superseded-runs guard the way the hook does (#11348)

Daniel Han353e38d41f68
diff --git a/tests/studio/test_pull_requests_cancel_superseded_runs.py b/tests/studio/test_pull_requests_cancel_superseded_runs.py
index 2bc594100a1..8a1abb74dc3 100644
--- a/tests/studio/test_pull_requests_cancel_superseded_runs.py
+++ b/tests/studio/test_pull_requests_cancel_superseded_runs.py
@@ -272,7 +272,9 @@ def test_the_scan_actually_found_the_workflows():
"""A glob that matched nothing would pass every check above."""
scanned = _scanned()
assert len(scanned) > 20, f"only found {len(scanned)} pull_request workflows; the scan is wrong"
- assert "runner-pool-probe.yml" in scanned, "the workflow that motivated this guard left the scan"
+ assert (
+ "runner-pool-probe.yml" in scanned
+ ), "the workflow that motivated this guard left the scan"
assert "lint-ci.yml" in scanned