From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Thu, 11 Jun 2026 15:15:10 +0000 (+0200) Subject: [3.15] gh-150397: Fix pyexpat bigmem test (GH-151329) (#151348) X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=0d4d4cd746578a0dd26333c82e520f586f029e5e;p=thirdparty%2FPython%2Fcpython.git [3.15] gh-150397: Fix pyexpat bigmem test (GH-151329) (#151348) gh-150397: Fix pyexpat bigmem test (GH-151329) Add missing parameter (size). (cherry picked from commit 0bbde07a0bbad3c79073fd133d6df70837e4cfee) Co-authored-by: Victor Stinner --- diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py index 10dca684acce..5a42bbb5f087 100644 --- a/Lib/test/test_pyexpat.py +++ b/Lib/test/test_pyexpat.py @@ -827,7 +827,7 @@ class ChardataBufferTest(unittest.TestCase): @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