]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674)
authorVictor Stinner <vstinner@python.org>
Thu, 3 Mar 2022 23:41:57 +0000 (00:41 +0100)
committerGitHub <noreply@github.com>
Thu, 3 Mar 2022 23:41:57 +0000 (00:41 +0100)
commitad1b04451d3aca2c6fa6dbe2891676a4e0baac49
tree8fc21956e428436da9aaf698d5d11393d97ea4e1
parent6d0d7d2b8c1e04fd51c6cb29cc09a41b60b97b7b
bpo-46913: Skip test_ctypes.test_shorts() on UBSan (GH-31674)

If Python is built with UBSan, test_ctypes now skips test_shorts().
This change allows to run test_ctypes to check for new UBSan regression,
but the known test_shorts() undefined behavior must be fixed.
Lib/ctypes/test/test_bitfields.py