]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673)
authorVictor Stinner <vstinner@python.org>
Thu, 3 Mar 2022 23:41:34 +0000 (00:41 +0100)
committerGitHub <noreply@github.com>
Thu, 3 Mar 2022 23:41:34 +0000 (00:41 +0100)
commit6d0d7d2b8c1e04fd51c6cb29cc09a41b60b97b7b
tree24056030a7e5057f1ea48d159f6befb1507ea2eb
parent05a8bc1c944709e7468f157bd1b6032f368e43bf
bpo-46913: test_hashlib skips _sha3 tests on UBSan (GH-31673)

If Python is built with UBSan, test_hashlib skips tests on the _sha3
extension which currently has undefined behaviors.

This change allows to run test_hashlib to check for new UBSan regression,
but the known _sha3 undefined behavior must be fixed.
Lib/test/test_hashlib.py