https://github.com/python/cpython/commit/24c562312d3ed08c455dacb72517f7871a29f877
commit: 24c562312d3ed08c455dacb72517f7871a29f877
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: vstinner <[email protected]>
date: 2026-06-11T15:17:19Z
summary:

[3.14] gh-150397: Fix pyexpat bigmem test (GH-151329) (#151349)

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

Add missing parameter (size).
(cherry picked from commit 0bbde07a0bbad3c79073fd133d6df70837e4cfee)

Co-authored-by: Victor Stinner <[email protected]>

files:
M Lib/test/test_pyexpat.py

diff --git a/Lib/test/test_pyexpat.py b/Lib/test/test_pyexpat.py
index dea472335b0b34..88fbe76b8d1e89 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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to