]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-153395: Fix test_complexchar on narrow curses builds (GH-154005)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 18 Jul 2026 16:33:03 +0000 (19:33 +0300)
committerGitHub <noreply@github.com>
Sat, 18 Jul 2026 16:33:03 +0000 (19:33 +0300)
commita202e5ce1ce9e1266208887bad990dd5b92180d8
treecbd747f231002f63eca5a48e9fea054b8985e7f8
parentd49e76b1eb6e49d0ba4f5a3ba6e822d5621e1b55
gh-153395: Fix test_complexchar on narrow curses builds (GH-154005)

On a narrow build, complexchar() of a multibyte character raises
OverflowError, not ValueError.

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