Skip to content

Commit f5d1bde

Browse files
[3.13] gh-154394: Skip test_tcsendbreak on OpenBSD (GH-154397) (GH-154413)
tcsendbreak() is not supported for pseudo-terminals on OpenBSD. (cherry picked from commit f1730dd) Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent d82cddf commit f5d1bde

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")):
100+
if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', 'netbsd', 'openbsd')):
101101
self.skipTest('termios.tcsendbreak() is not supported '
102102
'with pseudo-terminals (?) on this platform')
103103
raise

0 commit comments

Comments
 (0)