From 06d11c0b4060b62f27981b6ae8d1a263bd58431e Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Wed, 22 Jul 2026 07:15:25 +0300 Subject: [PATCH] [3.13] gh-154394: Skip test_tcsendbreak on OpenBSD (GH-154397) tcsendbreak() is not supported for pseudo-terminals on OpenBSD. (cherry picked from commit f1730ddc474d9d103c4f85ecc4bb1e995a268ed9) Co-authored-by: Serhiy Storchaka Co-Authored-By: Claude Opus 4.8 --- Lib/test/test_termios.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_termios.py b/Lib/test/test_termios.py index 5fd62b30263a372..cbc922bb3e31cab 100644 --- a/Lib/test/test_termios.py +++ b/Lib/test/test_termios.py @@ -97,7 +97,7 @@ def test_tcsendbreak(self): try: termios.tcsendbreak(self.fd, 1) except termios.error as exc: - if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', "netbsd")): + if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', 'netbsd', 'openbsd')): self.skipTest('termios.tcsendbreak() is not supported ' 'with pseudo-terminals (?) on this platform') raise