test_curses.test_use_default_colors
fails on some platforms
#132985
Labels
extension-modules
C modules in the Modules dir
tests
Tests in the Lib/test dir
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
I'm pretty sure it's either my own configuration (openSUSE 15.5 + custom konsole) or my curses version (6.1) but here it is:
When I want to test curses, I usually skip over this one.
The cause
The current terminal fg/bg colors given by
pair_content(0)
, which is backed byextended_pair_content(3)
, depends on the terminal emulator and its supported colors. Thus, its output cannot not be reliably checked.CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
curses.pair_content(0)
#132986The text was updated successfully, but these errors were encountered: