Skip to content

Commit 034408f

Browse files
[3.15] gh-154414: Skip test_tcsendbreak on DragonFly BSD (GH-154415) (GH-154426)
tcsendbreak() is not supported for pseudo-terminals on DragonFly BSD. (cherry picked from commit a84e780) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 566d678 commit 034408f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/test/test_termios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ def test_tcsendbreak(self):
104104
try:
105105
termios.tcsendbreak(self.fd, 1)
106106
except termios.error as exc:
107-
if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', 'netbsd', 'openbsd')):
107+
if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', 'netbsd', 'openbsd', 'dragonfly')):
108108
self.skipTest('termios.tcsendbreak() is not supported '
109109
'with pseudo-terminals (?) on this platform')
110110
raise

0 commit comments

Comments
 (0)