Skip to content

Conversation

@picnixz
Copy link
Member

@picnixz picnixz commented Apr 26, 2025

This is an alternative to #132986, and possibly preferrable. It should at least prevent users using openSUSE and/or konsole but others with custom terminfo configuration may still have a failing test.

@bedevere-app bedevere-app bot added awaiting core review tests Tests in the Lib/test dir labels Apr 26, 2025
@picnixz picnixz changed the title gh-91221: fix test_curses.test_use_default_colors for xterm256-color gh-91221: fix test_curses.test_use_default_colors for xterm-256color Apr 26, 2025
@picnixz picnixz enabled auto-merge (squash) April 26, 2025 10:20
@picnixz picnixz merged commit 7f02ded into python:main Apr 26, 2025
38 checks passed
@miss-islington-app
Copy link

Thanks @picnixz for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 26, 2025
…56color (pythonGH-132990)

Terminals with `xterm-256color` Xterm support may use 15 (bright white) as their default foreground color.
(cherry picked from commit 7f02ded)

Co-authored-by: Bénédikt Tran <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Apr 26, 2025

GH-132992 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Apr 26, 2025
@picnixz picnixz deleted the test/fix/alternative-curses-test-use-default-colors-91221 branch April 26, 2025 10:39
picnixz added a commit that referenced this pull request Apr 26, 2025
…256color (GH-132990) (#132992)

gh-91221: fix `test_curses.test_use_default_colors` for xterm-256color (GH-132990)

Terminals with `xterm-256color` Xterm support may use 15 (bright white) as their default foreground color.
(cherry picked from commit 7f02ded)

Co-authored-by: Bénédikt Tran <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant