]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-144984: Skip test under tracerefs (GH-146218) (GH-146384)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 25 Mar 2026 09:35:31 +0000 (10:35 +0100)
committerGitHub <noreply@github.com>
Wed, 25 Mar 2026 09:35:31 +0000 (10:35 +0100)
(cherry picked from commit 119fce7b886384fe9079b95345fa83582c08a577)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Lib/test/test_pyexpat.py

index 3b4ee07b70b8457b5951ba775382281e3be234e7..465f65a03b9e15a980151126e98af92bd3735496 100644 (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