From d7558a9fd4b4e4fc3905af286e05e074d69e3b5a Mon Sep 17 00:00:00 2001 From: Serhiy Storchaka Date: Wed, 22 Jul 2026 08:26:54 +0300 Subject: [PATCH] [3.14] gh-154414: Skip test_tcsendbreak on DragonFly BSD (GH-154415) tcsendbreak() is not supported for pseudo-terminals on DragonFly BSD. (cherry picked from commit a84e780707d3baa3b9f73981d8b7e293eb10d076) 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 9fdf42c329521d..4d43bd97bb38a9 100644 --- a/Lib/test/test_termios.py +++ b/Lib/test/test_termios.py @@ -104,7 +104,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', 'openbsd')): + if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', 'netbsd', 'openbsd', 'dragonfly')): self.skipTest('termios.tcsendbreak() is not supported ' 'with pseudo-terminals (?) on this platform') raise