https://github.com/python/cpython/commit/f68ff8741697bcbea663fe43ff6e456f24140f97
commit: f68ff8741697bcbea663fe43ff6e456f24140f97
branch: 3.13
author: Serhiy Storchaka <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-07-22T05:45:25Z
summary:

[3.13] gh-154414: Skip test_tcsendbreak on DragonFly BSD (GH-154415) (GH-154424)

tcsendbreak() is not supported for pseudo-terminals on DragonFly BSD.
(cherry picked from commit a84e780707d3baa3b9f73981d8b7e293eb10d076)

Co-authored-by: Claude Opus 4.8 <[email protected]>

files:
M Lib/test/test_termios.py

diff --git a/Lib/test/test_termios.py b/Lib/test/test_termios.py
index cbc922bb3e31ca..aa562b25cbcd3e 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', '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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to