From 36490f661c92bcff5b7cad44853d39ae2c78c620 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Wed, 14 Jan 2026 06:03:04 +0800 Subject: [PATCH] gh-143460: Correct unlimited stack size skip for Emscripten (GH-143765) Modifies the test skip for unlimited stack size to add Emscripten to the exclusion list. (cherry picked from commit 1857a40807daeae3a1bf5efb682de9c9ae6df845) Co-authored-by: Russell Keith-Magee --- Lib/test/support/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/test/support/__init__.py b/Lib/test/support/__init__.py index a0dcd517d9b453..aa87fd6afcac5c 100644 --- a/Lib/test/support/__init__.py +++ b/Lib/test/support/__init__.py @@ -1694,7 +1694,7 @@ def skip_if_unlimited_stack_size(test): See https://github.com/python/cpython/issues/143460. """ - if is_wasi or os.name == "nt": + if is_emscripten or is_wasi or os.name == "nt": return test import resource