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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -876,7 +876,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