]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-154414: Skip test_tcsendbreak on DragonFly BSD (GH-154415)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 22 Jul 2026 05:01:25 +0000 (08:01 +0300)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2026 05:01:25 +0000 (05:01 +0000)
tcsendbreak() is not supported for pseudo-terminals on DragonFly BSD.

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

index 84062e464d6caf32ad543bb12770bc58c9a51c8b..ede23ec38860e11ca479bff9c02b1f06c6c410b6 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', 'openbsd', 'cygwin')):
+                               ('freebsd', 'netbsd', 'openbsd', 'dragonfly', 'cygwin')):
             termios.tcsendbreak(self.fd, 1)
             termios.tcsendbreak(self.stream, 1)