https://github.com/python/cpython/commit/9f42b62db998131bb5cd555e2fa72ba7e06e3130
commit: 9f42b62db998131bb5cd555e2fa72ba7e06e3130
branch: main
author: Furkan Onder <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-09-13T19:27:54+03:00
summary:
gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031)
files:
M Lib/test/test_termios.py
diff --git a/Lib/test/test_termios.py b/Lib/test/test_termios.py
index 22e397c7a409c4..b98cbd553dac3f 100644
--- a/Lib/test/test_termios.py
+++ b/Lib/test/test_termios.py
@@ -94,7 +94,7 @@ def test_tcsendbreak(self):
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
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]