]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-154394: Skip test_tcsendbreak on OpenBSD (GH-154397)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 22 Jul 2026 04:09:38 +0000 (07:09 +0300)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2026 04:09:38 +0000 (04:09 +0000)
tcsendbreak() is not supported for pseudo-terminals on OpenBSD.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Lib/test/test_termios.py

index 3dcf5bd13791dc1b1c614876f2d604aa979a1e38..84062e464d6caf32ad543bb12770bc58c9a51c8b 100644 (file)
@@ -117,7 +117,7 @@ class TestFunctions(unittest.TestCase):
     @support.skip_android_selinux('tcsendbreak')
     def test_tcsendbreak(self):
         with skip_enotty_error(self, 'tcsendbreak',
-                               ('freebsd', 'netbsd', 'cygwin')):
+                               ('freebsd', 'netbsd', 'openbsd', 'cygwin')):
             termios.tcsendbreak(self.fd, 1)
             termios.tcsendbreak(self.stream, 1)