Skip to content

Commit 46d92b7

Browse files
committed
gh-144984: Skip test under tracerefs
1 parent 82a24a4 commit 46d92b7

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
@@ -854,6 +854,8 @@ class ExternalEntityParserCreateErrorTest(unittest.TestCase):
854854
def setUpClass(cls):
855855
cls.testcapi = import_helper.import_module('_testcapi')
856856

857+
@unittest.skipIf(support.Py_TRACE_REFS,
858+
'Py_TRACE_REFS conflicts with testcapi.set_nomemory')
857859
def test_error_path_no_crash(self):
858860
# When an allocation inside ExternalEntityParserCreate fails,
859861
# the partially-initialized subparser is deallocated. This

0 commit comments

Comments
 (0)