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.

Apply the kwarg-spacing formatter to the #8677 system poll test (#8699)

Daniel Hanc1602150487c
diff --git a/studio/backend/tests/test_system_poll_no_cuda_context.py b/studio/backend/tests/test_system_poll_no_cuda_context.py
index f6632a91a68..47ea26d7ca0 100644
--- a/studio/backend/tests/test_system_poll_no_cuda_context.py
+++ b/studio/backend/tests/test_system_poll_no_cuda_context.py
@@ -320,7 +320,13 @@ def test_rocm_apu_inventory_keeps_the_gtt_total(monkeypatch):
class _FakeRocmProps(_FakeProps):
"""Discrete card as a current ROCm runtime describes it: the flag is filled in."""
- def __init__(self, name = "MI300X", total = 191505498112, arch = "gfx942", integrated = 0):
+ def __init__(
+ self,
+ name = "MI300X",
+ total = 191505498112,
+ arch = "gfx942",
+ integrated = 0,
+ ):
super().__init__(name, total)
self.gcnArchName = arch
self.is_integrated = integrated
@@ -396,7 +402,12 @@ def test_rocm_apu_sysfs_overlay_still_declines_against_the_gtt_total(monkeypatch
class _FakeUnclassifiedApuProps(_FakeProps):
"""gfx1103 Phoenix: a real APU that sits outside the classifier's arch set."""
- def __init__(self, total = _APU_CARVE_OUT, *, integrated = 0):
+ def __init__(
+ self,
+ total = _APU_CARVE_OUT,
+ *,
+ integrated = 0,
+ ):
super().__init__("AMD Radeon 780M Graphics", total)
self.gcnArchName = "gfx1103"
if integrated is not None: