mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
[3.12] gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (GH-109573) (#109578)
Co-authored-by: Victor Stinner <vstinner@python.org>
This commit is contained in:
parent
f4f919e3d8
commit
62d9ae414f
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