8000 gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY Error by furkanonder · Pull Request #124031 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY Error #124031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Skip test_tcsendbreak on NetBSD for ENOTTY Error
  • Loading branch information
furkanonder committed Sep 13, 2024
commit 9acb58b2e05211f69d4914a77d508edfcc24802b
2 changes: 1 addition & 1 deletion Lib/test/test_termios.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading
0