]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.8] [3.9] bpo-42681: Fix test_curses failures related to color pairs (GH-24089...
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 5 Jan 2021 14:04:25 +0000 (16:04 +0200)
committerGitHub <noreply@github.com>
Tue, 5 Jan 2021 14:04:25 +0000 (16:04 +0200)
commite2c847e0c518dd6c63a898b8265ba54b71548bd6
tree93a951dc5107effb5103c0c30d99b54059354bc7
parenta087a97438e922fcace357ff4c29806ff65838d8
[3.8] [3.9] bpo-42681: Fix test_curses failures related to color pairs (GH-24089) (GH-24113) (GH-24116)

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)
(cherry picked from commit 9b3a53a8264d4c469a3f3d8c037e74c010be3e5c)
Lib/test/test_curses.py
Modules/_cursesmodule.c