[3.14] gh-144984: Skip test under tracerefs (GH-146218) (GH-146384)

(cherry picked from commit 119fce7b88)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
Miss Islington (bot) 2026-03-25 10:35:31 +01:00 committed by GitHub
parent f2b5131d1a
commit 4f5f6ea7be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -842,6 +842,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