]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-151284: Fix test_capi on UBSan (GH-151286) (#151324)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Jun 2026 11:22:18 +0000 (13:22 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 11:22:18 +0000 (11:22 +0000)
commita258c96bccd7ff603f7c5c3dc57fe7f4f0edd590
tree62d382e7b8cbcc312d88d85a044c75e91efbe512
parent9f5c4c78229468cc9325aa7ad2da210d591e38e2
[3.14] gh-151284: Fix test_capi on UBSan (GH-151286) (#151324)

gh-151284: Fix test_capi on UBSan (GH-151286)

Comment two checks relying on undefined behavior in
test_fromwidechar() of test_capi.

Enable test_capi in GitHub Action "Reusable Sanitizer".
(cherry picked from commit d87d77287392b78d36a06660228f6a5ca88888d7)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_capi/test_unicode.py