]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] Improve tests for the PyUnicodeWriter C API (GH-146157) (GH-146180)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 20 Mar 2026 11:44:25 +0000 (13:44 +0200)
committerGitHub <noreply@github.com>
Fri, 20 Mar 2026 11:44:25 +0000 (11:44 +0000)
commit2105187546ad031a062242dec9b8c4828a89dfcf
tree5662f0d83c8bfc07684599202bc3bba382741a2f
parent7ba9580f00d3ae2c79cb43f5663725e6d786ef7c
[3.14] Improve tests for the PyUnicodeWriter C API (GH-146157) (GH-146180)

Add tests for corner cases: NULL pointers and out of range values.
(cherry picked from commit ab47892c32e6361f2180e7d86682650f0850c1c4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_capi/test_unicode.py
Modules/_testcapi/unicode.c