]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-150397: Fix pyexpat bigmem test (#151329)
authorVictor Stinner <vstinner@python.org>
Thu, 11 Jun 2026 14:45:44 +0000 (16:45 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 14:45:44 +0000 (16:45 +0200)
Add missing parameter (size).

Lib/test/test_pyexpat.py

index 060a509c1bd1c7ac83fccf3979edad94409780de..42309dd8f6c1903819564115fda4e9f208d181d8 100644 (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