mirror of
https://github.com/python/cpython.git
synced 2026-06-27 19:36:07 +00:00
gh-152402: Use support.nomemtest in test_pyexpat (#152403)
This commit is contained in:
parent
7bf63facfd
commit
109c59e25f
1 changed files with 1 additions and 2 deletions
|
|
@ -1057,8 +1057,7 @@ 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')
|
||||
@support.nomemtest
|
||||
def test_error_path_no_crash(self):
|
||||
# When an allocation inside ExternalEntityParserCreate fails,
|
||||
# the partially-initialized subparser is deallocated. This
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue