mirror of
https://github.com/python/cpython.git
synced 2026-01-06 07:22:09 +00:00
[3.13] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) (#124063)
gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031)
(cherry picked from commit 9f42b62db9)
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
This commit is contained in:
parent
8af2d18111
commit
06a1b0c2c3
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue