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).
pull/6013/head
yangfl 2020-05-01 18:28:00 +08:00 zatwierdzone przez Damien George
rodzic 4ede703687
commit 138a28dc07
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -9,7 +9,7 @@ import _thread
if sys.implementation.name == "micropython":
sz = 2 * 1024
else:
sz = 32 * 1024
sz = 512 * 1024
def foo():