https://github.com/python/cpython/commit/84e3f6078b5bab7d2d6413de6b089013d4aa4aa0 commit: 84e3f6078b5bab7d2d6413de6b089013d4aa4aa0 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka <[email protected]> date: 2024-09-13T16:44:57Z summary:
[3.12] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) (GH-124062) (cherry picked from commit 9f42b62db998131bb5cd555e2fa72ba7e06e3130) Co-authored-by: Furkan Onder <[email protected]> files: M Lib/test/test_termios.py diff --git a/Lib/test/test_termios.py b/Lib/test/test_termios.py index 58698ffac2d981..11928f04a8a893 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]
