-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
bpo-42789: Don't skip curses tests on non-tty. #24009
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
Conversation
If __stdout__ is not attached to terminal, try to use __stderr__ if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case.
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8, 3.9. |
Sorry, @serhiy-storchaka, I could not cleanly backport this to |
Sorry @serhiy-storchaka, I had trouble checking out the |
|
If __stdout__ is not attached to terminal, try to use __stderr__ if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case.. (cherry picked from commit 607501a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-24076 is a backport of this pull request to the 3.9 branch. |
|
|
|
…24009) (pythonGH-24076) If __stdout__ is not attached to terminal, try to use __stderr__ if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case. (cherry picked from commit 607501a). (cherry picked from commit 0303008) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
…GH-24076) (GH-24078) If __stdout__ is not attached to terminal, try to use __stderr__ if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case. (cherry picked from commit 607501a) (cherry picked from commit 0303008)
|
|
|
If __stdout__ is not attached to terminal, try to use __stderr__ if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case.
If
__stdout__
is not attached to terminal, try to use__stderr__
if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case.https://bugs.python.org/issue42789