-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
test_ioctl skipped -- Unable to open /dev/tty #83994
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
Comments
During (venv_3_9) marco@buzz:~/sources/cpython_test$ ll /dev/tty |
Can you give us some information about your operating system? Did you build this version of python yourself? Assuming so, how did you build it? Please show us the header you see when starting this version of python. How are you invoking this test? |
OS: Lubuntu 18.04.4 Steps to reproduce: sudo apt-get install git libbz2-dev liblzma-dev uuid-dev libffi-dev libsqlite3-dev libreadline-dev libssl-dev libgdbm-dev libgdbm-compat-dev tk-dev libncurses5-dev marco@buzz:~/sources/cpython_test$ python3.9 |
* Skip test_ioctl_tcflush if termios.TCFLSH is not available. * Do not skip ALL ioctl() tests when /dev/tty is not available.
You can reproduce this on Linux by running tests with It seems that the tests were always skipped on CI and buildbots because /dev/tty was not available or not attached to the process. But one test (test_ioctl_set_window_size) did not depend on this and could be run. #132848 makes only tests that depend on /dev/tty be skipped. |
…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>
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
Linked PRs
The text was updated successfully, but these errors were encountered: