We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f31156 commit cc4da89Copy full SHA for cc4da89
Lib/test/test_exceptions.py
@@ -1927,7 +1927,7 @@ def test_exec_set_nomemory_hang(self):
1927
# PyLong_FromLong() from returning cached integers, which
1928
# don't require a memory allocation. Prepend some dummy code
1929
# to artificially increase the instruction index.
1930
- warmup_code = "a = list(range(0, 1))\n" * 2000
+ warmup_code = "a = list(range(0, 1))\n" * 60
1931
user_input = warmup_code + dedent("""
1932
try:
1933
import _testcapi
0 commit comments