]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151693: Make the curses tests portable to other curses implementations (GH-151729)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 19 Jun 2026 11:32:02 +0000 (14:32 +0300)
committerGitHub <noreply@github.com>
Fri, 19 Jun 2026 11:32:02 +0000 (11:32 +0000)
commit64fab74bd7288bfa67cd7727452febdaafed4270
treeb705c85ccd63fbd4cf36e2e203615360f1fc3649
parent93b9e7666f4337e3cacfed6993568e4bec575e9b
gh-151693: Make the curses tests portable to other curses implementations (GH-151729)

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).

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