Skip to content

Commit 109c59e

Browse files
authored
gh-152402: Use support.nomemtest in test_pyexpat (#152403)
1 parent 7bf63fa commit 109c59e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lib/test/test_pyexpat.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,8 +1057,7 @@ class ExternalEntityParserCreateErrorTest(unittest.TestCase):
10571057
def setUpClass(cls):
10581058
cls.testcapi = import_helper.import_module('_testcapi')
10591059

1060-
@unittest.skipIf(support.Py_TRACE_REFS,
1061-
'Py_TRACE_REFS conflicts with testcapi.set_nomemory')
1060+
@support.nomemtest
10621061
def test_error_path_no_crash(self):
10631062
# When an allocation inside ExternalEntityParserCreate fails,
10641063
# the partially-initialized subparser is deallocated. This

0 commit comments

Comments
 (0)