]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-143460: Correct unlimited stack size skip for Emscripten (GH-143765) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 13 Jan 2026 22:45:54 +0000 (23:45 +0100)
committerGitHub <noreply@github.com>
Tue, 13 Jan 2026 22:45:54 +0000 (06:45 +0800)
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 <russell@keith-magee.com>
Lib/test/support/__init__.py

index a0dcd517d9b4535bb1dbf603de648180f8985246..aa87fd6afcac5c7b1ed7cfb3bd6f0861fa3beed0 100644 (file)
@@ -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