Skip to content

Commit 138a28d

Browse files
yangfldpgeorge
authored andcommitted
tests/thread/thread_stacksize1.py: Increase stack size for CPython.
On arm64 with CPython: >>> _thread.stack_size(32*1024) Traceback (most recent call last): File "<stdin>", line 1, in <module> ValueError: size not valid: 32768 bytes So increase the CPython value in the test to 512k so it runs on more systems (on modern Linux the default stack size is usually 8MB).
1 parent 4ede703 commit 138a28d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/thread/thread_stacksize1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
if sys.implementation.name == "micropython":
1010
sz = 2 * 1024
1111
else:
12-
sz = 32 * 1024
12+
sz = 512 * 1024
1313

1414

1515
def foo():

0 commit comments

Comments
 (0)