Skip to content

Commit f68ff87

Browse files
[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 a84e780) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent f5d1bde commit f68ff87

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
@@ -97,7 +97,7 @@ def test_tcsendbreak(self):
9797
try:
9898
termios.tcsendbreak(self.fd, 1)
9999
except termios.error as exc:
100-
if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', 'netbsd', 'openbsd')):
100+
if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', 'netbsd', 'openbsd', 'dragonfly')):
101101
self.skipTest('termios.tcsendbreak() is not supported '
102102
'with pseudo-terminals (?) on this platform')
103103
raise

0 commit comments

Comments
 (0)