]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-144984: Skip test under tracerefs (GH-146218)
authorPetr Viktorin <encukou@gmail.com>
Tue, 24 Mar 2026 16:34:12 +0000 (17:34 +0100)
committerGitHub <noreply@github.com>
Tue, 24 Mar 2026 16:34:12 +0000 (17:34 +0100)
Lib/test/test_pyexpat.py

index c67bfc6747998562446c65e5109bc5c1406290ed..cace780f79f5152f57a0dc7db6a7a2c19e61ad10 100644 (file)
@@ -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