Skip to content

Commit 3f31156

Browse files
Update Lib/test/test_exceptions.py
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
1 parent ed2793b commit 3f31156

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_exceptions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ def test_exec_set_nomemory_hang(self):
19271927
# PyLong_FromLong() from returning cached integers, which
19281928
# don't require a memory allocation. Prepend some dummy code
19291929
# to artificially increase the instruction index.
1930-
warmup_code = "a = list(range(0, 1))\n" * 20
1930+
warmup_code = "a = list(range(0, 1))\n" * 2000
19311931
user_input = warmup_code + dedent("""
19321932
try:
19331933
import _testcapi

0 commit comments

Comments
 (0)