Skip to content

Commit b3c482d

Browse files
committed
gh-144984: Skip test under tracerefs (GH-146218)
1 parent 65de623 commit b3c482d

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
@@ -822,6 +822,8 @@ class ExternalEntityParserCreateErrorTest(unittest.TestCase):
822822
def setUpClass(cls):
823823
cls.testcapi = import_helper.import_module('_testcapi')
824824

825+
@unittest.skipIf(support.Py_TRACE_REFS,
826+
'Py_TRACE_REFS conflicts with testcapi.set_nomemory')
825827
def test_error_path_no_crash(self):
826828
# When an allocation inside ExternalEntityParserCreate fails,
827829
# the partially-initialized subparser is deallocated. This

0 commit comments

Comments
 (0)