Skip to content

Commit cc4da89

Browse files
committed
fix: windows too long name 60 times is enough
Signed-off-by: yihong0618 <[email protected]>
1 parent 3f31156 commit cc4da89

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" * 2000
1930+
warmup_code = "a = list(range(0, 1))\n" * 60
19311931
user_input = warmup_code + dedent("""
19321932
try:
19331933
import _testcapi

0 commit comments

Comments
 (0)