]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-151284: Fix test_capi on UBSan (GH-151286) (#151325)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 11 Jun 2026 11:19:54 +0000 (13:19 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 11:19:54 +0000 (11:19 +0000)
commit003db2ffd001c05b7138259864d1adadd9ebdcd9
tree265c099a588c244dca4c67ec421e50d99437780a
parentf1c8176636d38ccb0aeddd209bdab6a76b3c7289
[3.13] gh-151284: Fix test_capi on UBSan (GH-151286) (#151325)

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