]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-42681: Fix test_curses failures related to color pairs (GH-24089) (GH-24113)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 5 Jan 2021 12:23:19 +0000 (14:23 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Jan 2021 12:23:19 +0000 (14:23 +0200)
commit9b3a53a8264d4c469a3f3d8c037e74c010be3e5c
tree806bb645e46698c57a97fb4a8b3ac89580e709a8
parentd82392facefe0564dd55aa2adf04bf21c704858d
[3.9] bpo-42681: Fix test_curses failures related to color pairs (GH-24089) (GH-24113)

On ncurses 6.1 pair numbers are limited by SHORT_MAX-1.

Improve error reporting and tests for color functions.
(cherry picked from commit 59f9b4e4509be67494f3d45489fa55523175ff69)
Lib/test/test_curses.py
Modules/_cursesmodule.c