From ae5e377f21932a85548e0eb9285d1b5fcc17c292 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Wed, 28 Oct 2026 03:35:04 +0100 Subject: [PATCH] fix: skip the tap pty tests without pyte --- tests/test_install_tui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_install_tui.py b/tests/test_install_tui.py index 048df69fa..9494cc670 100644 --- a/tests/test_install_tui.py +++ b/tests/test_install_tui.py @@ -11009,6 +11009,8 @@ class AuditNineteenAndTwelve(_CardFixtures, unittest.TestCase): self.assertNotIn("A quit chosen", last) +@unittest.skipUnless(pyte and pty and hasattr(pty, "fork"), + "the pty runs need pyte and a pty") class TapsOnAPty(unittest.TestCase): """tui_audit_12 P1-1 and P3-9 on the real install.py --tui."""