From: Petr Viktorin Date: Tue, 24 Mar 2026 16:34:12 +0000 (+0100) Subject: gh-144984: Skip test under tracerefs (GH-146218) X-Git-Tag: v3.15.0a8~190 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=119fce7b886384fe9079b95345fa83582c08a577;p=thirdparty%2FPython%2Fcpython.git gh-144984: Skip test under tracerefs (GH-146218) --- diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py index c67bfc674799..cace780f79f5 100644 --- a/Lib/test/test_pyexpat.py +++ b/Lib/test/test_pyexpat.py @@ -854,6 +854,8 @@ class ExternalEntityParserCreateErrorTest(unittest.TestCase): def setUpClass(cls): cls.testcapi = import_helper.import_module('_testcapi') + @unittest.skipIf(support.Py_TRACE_REFS, + 'Py_TRACE_REFS conflicts with testcapi.set_nomemory') def test_error_path_no_crash(self): # When an allocation inside ExternalEntityParserCreate fails, # the partially-initialized subparser is deallocated. This