aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_syntax.py
diff options
context:
space:
mode:
authorFilipe Laíns 🇵🇸 <lains@riseup.net>2025-04-04 09:34:02 +0100
committerGitHub <noreply@github.com>2025-04-04 09:34:02 +0100
commit6ab4acecf91413fccd39f78ff14775d83498dab5 (patch)
tree74e065fea3e5fdb8e630dbb12930f987f6ed4af5 /Lib/test/test_syntax.py
parent0dbaeb94a8b39972ebda7782b50bb49488951e3c (diff)
downloadcpython-6ab4acecf91413fccd39f78ff14775d83498dab5.tar.gz
cpython-6ab4acecf91413fccd39f78ff14775d83498dab5.zip
GH-131770: increase assumed WASI stack size to 131072 (wasi-sdk default) (#131844)
https://github.com/WebAssembly/wasi-libc/blob/e9524a0980b9bb6bb92e87a41ed1055bdda5bb86/libc-top-half/musl/src/internal/pthread_impl.h#L220 Signed-off-by: Filipe Laíns <lains@riseup.net>
Diffstat (limited to 'Lib/test/test_syntax.py')
-rw-r--r--Lib/test/test_syntax.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_syntax.py b/Lib/test/test_syntax.py
index 2c87b145254..02d10c1961e 100644
--- a/Lib/test/test_syntax.py
+++ b/Lib/test/test_syntax.py
@@ -2900,6 +2900,7 @@ while 1:
compile(source, "<string>", mode)
@support.cpython_only
+ @support.skip_wasi_stack_overflow()
def test_deep_invalid_rule(self):
# Check that a very deep invalid rule in the PEG
# parser doesn't have exponential backtracking.