]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151693: Make the curses tests portable to other curses implementations...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 19 Jun 2026 12:37:43 +0000 (14:37 +0200)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2026 12:37:43 +0000 (12:37 +0000)
commitb010116e26bda41acbe6de54225266f5d02a3c1e
treef9490354bb93673adf6c4f9c374f0e53cece7811
parentd81cc8634190e8f48442c73502e124c730a605ca
[3.15] gh-151693: Make the curses tests portable to other curses implementations (GH-151729) (GH-151733)

Make the curses tests portable to other curses implementations

Guard the chgat() check (chgat() needs wchgat()) and stop assuming a
subpad shares the parent pad's cells (implementation-defined in X/Open).
(cherry picked from commit 64fab74bd7288bfa67cd7727452febdaafed4270)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Lib/test/test_curses.py