]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42681: Fix test_curses failures related to color pairs (GH-24089)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 5 Jan 2021 07:13:15 +0000 (09:13 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Jan 2021 07:13:15 +0000 (09:13 +0200)
commit59f9b4e4509be67494f3d45489fa55523175ff69
treee17a88dc4ef18c9ed56c2f26251d7993508f60cb
parent27f9dafc2ba51864a9bc2fe5d6293eb4fd887bce
bpo-42681: Fix test_curses failures related to color pairs (GH-24089)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1, even
with extended color support.

Improve error reporting and tests for color functions.
Lib/test/test_curses.py
Modules/_cursesmodule.c