diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-10-02 14:09:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-02 14:09:35 (GMT) |
commit | 62d9ae414f1a9f8335c04e8c73571527eabc5085 (patch) | |
tree | 53b05e5eb39c667e71d661c58160b9a36713dd75 | |
parent | f4f919e3d811251f87c5b412b5238702f66879fd (diff) | |
download | cpython-62d9ae414f1a9f8335c04e8c73571527eabc5085.zip cpython-62d9ae414f1a9f8335c04e8c73571527eabc5085.tar.gz cpython-62d9ae414f1a9f8335c04e8c73571527eabc5085.tar.bz2 |
[3.12] gh-109496: Skip test_capi.test_decref_freed_object() on ASAN (GH-109573) (#109578)
Co-authored-by: Victor Stinner <vstinner@python.org>
-rw-r--r-- | Lib/test/test_capi/test_misc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_capi/test_misc.py b/Lib/test/test_capi/test_misc.py index 5756355..66d5ebe 100644 --- a/Lib/test/test_capi/test_misc.py +++ b/Lib/test/test_capi/test_misc.py @@ -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 |