Skip to content

Commit 4f5f6ea

Browse files
[3.14] gh-144984: Skip test under tracerefs (GH-146218) (GH-146384)
(cherry picked from commit 119fce7) Co-authored-by: Petr Viktorin <encukou@gmail.com>
1 parent f2b5131 commit 4f5f6ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Lib/test/test_pyexpat.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -842,6 +842,8 @@ class ExternalEntityParserCreateErrorTest(unittest.TestCase):
842842
def setUpClass(cls):
843843
cls.testcapi = import_helper.import_module('_testcapi')
844844

845+
@unittest.skipIf(support.Py_TRACE_REFS,
846+
'Py_TRACE_REFS conflicts with testcapi.set_nomemory')
845847
def test_error_path_no_crash(self):
846848
# When an allocation inside ExternalEntityParserCreate fails,
847849
# the partially-initialized subparser is deallocated. This

0 commit comments

Comments
 (0)