From e500f62be53e9d5f96378108206bae3a3a097267 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 11 Jun 2026 16:45:44 +0200 Subject: [PATCH] gh-150397: Fix pyexpat bigmem test (GH-151329) Add missing parameter (size). (cherry picked from commit 0bbde07a0bbad3c79073fd133d6df70837e4cfee) Co-authored-by: Victor Stinner --- Lib/test/test_pyexpat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py index dea472335b0b342..88fbe76b8d1e899 100644 --- a/Lib/test/test_pyexpat.py +++ b/Lib/test/test_pyexpat.py @@ -787,7 +787,7 @@ def test_change_size_2(self): @support.requires_resource('cpu') @support.requires_resource('walltime') @support.bigmemtest(size=2**31, memuse=4, dry_run=False) - def test_large_character_data_does_not_crash(self): + def test_large_character_data_does_not_crash(self, size): # See https://github.com/python/cpython/issues/148441 parser = expat.ParserCreate() parser.buffer_text = True