]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-151284: Fix test_capi on UBSan (GH-151286) (#151323)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 12 Jun 2026 13:10:41 +0000 (15:10 +0200)
committerGitHub <noreply@github.com>
Fri, 12 Jun 2026 13:10:41 +0000 (13:10 +0000)
commit5caef8590a06487be5cabdfc890fdc0cd3421751
treeb0870d0af8c69ff6ac36fe1b45a8df50e2ec4c01
parent3603bd318b93d1ee1c40f39b6f2db08190a9e34a
[3.15] gh-151284: Fix test_capi on UBSan (GH-151286) (#151323)

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>
.github/workflows/reusable-san.yml
Lib/test/test_capi/test_unicode.py