Skip to content

Commit 35560dc

Browse files
[3.15] gh-154394: Skip test_tcsendbreak on OpenBSD (GH-154397) (GH-154411)
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 a5e2d74 commit 35560dc

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

0 commit comments

Comments
 (0)