gh-150397: Fix pyexpat bigmem test (#151329)

Add missing parameter (size).
This commit is contained in:
Victor Stinner
2026-06-11 16:45:44 +02:00
committed by GitHub
parent 4b44b1e1fd
commit 0bbde07a0b
+1 -1
View File
@@ -876,7 +876,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