8000 gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) · python/cpython@9f42b62 · GitHub
[go: up one dir, main page]

Skip to content

Commit 9f42b62

Browse files
authored
gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031)
1 parent 8810e28 commit 9f42b62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_termios.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_tcsendbreak(self):
9494
try:
9595
termios.tcsendbreak(self.fd, 1)
9696
except termios.error as exc:
97-
if exc.args[0] == errno.ENOTTY and sys.platform.startswith('freebsd'):
97+
if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', "netbsd")):
9898
self.skipTest('termios.tcsendbreak() is not supported '
9999
'with pseudo-terminals (?) on this platform')
100100
raise

0 commit comments

Comments
 (0)
0