From f7eb3a3150037fb1c1bc2f31fbb19b1ad92a50e5 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Fri, 27 Feb 2026 22:27:22 +0000 Subject: [PATCH] test: gracefully skip test_ai_tui_agent_harness on Windows - Explicitly import skip `pty` and `termios` at the top level of `src/tests/test_ai_tui_agent_harness.py`. - Windows runner does not support these native POSIX modules. Co-authored-by: PR0M3TH3AN <53631862+PR0M3TH3AN@users.noreply.github.com> --- src/tests/test_ai_tui_agent_harness.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tests/test_ai_tui_agent_harness.py b/src/tests/test_ai_tui_agent_harness.py index ed228a38..2dc45c0e 100644 --- a/src/tests/test_ai_tui_agent_harness.py +++ b/src/tests/test_ai_tui_agent_harness.py @@ -6,6 +6,9 @@ import sys import pytest +pytest.importorskip("pty") +pytest.importorskip("termios") + def _load_harness_module(): repo_root = Path(__file__).resolve().parents[2]