-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
test_ioctl failing on MacOS #132843
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
Labels
type-bug
An unexpected behavior, bug, or error
Comments
The test is passed on CI and builtbots because all these tests are skipped because "/dev/tty" is not available. I discovered this when worked on #132791. There are some issues with handling tcflush() and tcflow() on BSD/macOS, but the part of that PR which fixes dependency on "/dev/tty" and TCFLSH can be safely merged. |
serhiy-storchaka
added a commit
to serhiy-storchaka/cpython
that referenced
this issue
Apr 23, 2025
* Skip test_ioctl_tcflush if termios.TCFLSH is not available. * Do not skip ALL ioctl() tests when /dev/tty is not available.
serhiy-storchaka
added a commit
that referenced
this issue
Apr 23, 2025
serhiy-storchaka
added a commit
to serhiy-storchaka/cpython
that referenced
this issue
Apr 23, 2025
…ythonGH-132848) * Skip test_ioctl_tcflush if termios.TCFLSH is not available. * Do not skip ALL ioctl() tests when /dev/tty is not available. (cherry picked from commit 4b4b9fb) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka
added a commit
that referenced
this issue
Apr 23, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug description:
A new test,
test_ioctl.test_ioctl_tcflush
, fails for me on M1 MacBook Pro (Sequoia 15.4.1) becausetermios
doesn't have aTCFLSH
attribute.Here's what
termios
does have which resembles "flush":I saw no check for
TCFLSH
inconfigure
, so presume it's expected to be widely available, but I know nothing about this stuff. Pinging @serhiy-storchaka .CPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
The text was updated successfully, but these errors were encountered: