mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (#109573)
Skip test_decref_freed_object() of test_capi.test_misc if Python is built with ASAN, MSAN or UBSAN sanitizers.
This commit is contained in:
parent
67d9363372
commit
0a31ff0050
1 changed files with 2 additions and 0 deletions
|
@ -325,6 +325,8 @@ class CAPITest(unittest.TestCase):
|
|||
|
||||
@unittest.skipUnless(hasattr(_testcapi, 'decref_freed_object'),
|
||||
'need _testcapi.decref_freed_object()')
|
||||
@support.skip_if_sanitizer("use after free on purpose",
|
||||
address=True, memory=True, ub=True)
|
||||
def test_decref_freed_object(self):
|
||||
code = """
|
||||
import _testcapi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue