]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (GH-109573) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 2 Oct 2023 14:09:35 +0000 (07:09 -0700)
committerGitHub <noreply@github.com>
Mon, 2 Oct 2023 14:09:35 +0000 (15:09 +0100)
Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_capi/test_misc.py

index 575635584fb556b457e160acd498e50c71096319..66d5ebed66d670395266807f5eba61039a5b928a 100644 (file)
@@ -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