-
-
Notifications
You must be signed in to change notification settings - Fork 30k
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
test_curses fails if terminal defaults to bright white text (15) #91221
Comments
test_curses fails for me by default (running on Fedora 35 in KDE's Konsole):
The active terminal info indicates that the default text colour is indeed bright white (assuming I'm reading the infocmp output correctly), so it feels like (15, 0) is just missing from the set of permissible "old" colour pairs in the test case:
|
I am surprised. I use Konsole too, and the TERM value and the infocmp output are the same for me. |
can we reliably query for what the default is and add that to the expectations? or just skip the test if the defaults don't match our expectations (less ideal)? if those are a challenge to do reliably - adding 15, 0 to the expected set may be the most practical. |
Same issue with Konsole on openSUSE 15.3 while compiling Python 3.9.14 and 3.10.7 `TERM=xterm-256color ======================================================================
|
Same issue with Konsole on Fedora 38:
|
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:
The text was updated successfully, but these errors were encountered: