gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803) by tiran · Pull Request #92803 · python/cpython

Conversation

tiran

@tiran tiran marked this pull request as ready for review

May 15, 2022

ericsnowcurrently

ericsnowcurrently

@@ -2117,6 +2117,7 @@ def test_syntax_error_on_deeply_nested_blocks(self):
self._check_error(source, "too many statically nested blocks")

@support.cpython_only
@unittest.skipIf(support.is_wasi, "Exhausts WASI call stack")

Lesmiscore

vstinner

Reduce recursion limit to 750. WASI has limited call stack.

Mark tests that require mmap, os.pipe, or fail on musl libc.

pablogsal

@tiran tiran changed the title gh-90473: Decrease recursion limit and skip tests on WASI gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)

May 19, 2022

@tiran tiran deleted the gh-90473-wasi-rec-test branch

May 19, 2022

miss-islington pushed a commit to miss-islington/cpython that referenced this issue

May 19, 2022
…onGH-92803)

(cherry picked from commit 137fd3d88aa46669f5717734e823f4c594ab2843)

Co-authored-by: Christian Heimes <christian@python.org>