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.

Skip the backgrounded-raw-bind prompt test on Windows (#10885)

Daniel Han98f9e682b87e
diff --git a/unsloth_cli/tests/test_studio_password_prompt.py b/unsloth_cli/tests/test_studio_password_prompt.py
index c2a7117d0f6..5dceca759f3 100644
--- a/unsloth_cli/tests/test_studio_password_prompt.py
+++ b/unsloth_cli/tests/test_studio_password_prompt.py
@@ -1931,6 +1931,12 @@ def test_cli_and_backend_agree_on_which_hosts_are_exposed(monkeypatch, host):
# ── a backgrounded shell job is not a usable terminal ─────────────────
+ os.name == "nt",
+ reason = "POSIX terminal semantics: Windows has no process groups, no SIGTTOU and no pty, "
+ "so there is nothing here to assert. _prompt_owns_the_terminal fails open there, "
+ "which test_windows_has_no_terminal_ownership_to_lose pins.",
+)
def test_a_backgrounded_raw_bind_does_not_prompt(monkeypatch):
"""`unsloth studio -H 0.0.0.0 &` must still launch.