summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/test/test_termios.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_termios.py b/Lib/test/test_termios.py
index 22e397c..b98cbd5 100644
--- a/Lib/test/test_termios.py
+++ b/Lib/test/test_termios.py
@@ -94,7 +94,7 @@ class TestFunctions(unittest.TestCase):
try:
termios.tcsendbreak(self.fd, 1)
except termios.error as exc:
- if exc.args[0] == errno.ENOTTY and sys.platform.startswith('freebsd'):
+ if exc.args[0] == errno.ENOTTY and sys.platform.startswith(('freebsd', "netbsd")):
self.skipTest('termios.tcsendbreak() is not supported '
'with pseudo-terminals (?) on this platform')
raise