]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-143460: Correct unlimited stack size skip for Emscripten (#143765)
authorRussell Keith-Magee <russell@keith-magee.com>
Tue, 13 Jan 2026 22:03:04 +0000 (06:03 +0800)
committerGitHub <noreply@github.com>
Tue, 13 Jan 2026 22:03:04 +0000 (06:03 +0800)
Modifies the test skip for unlimited stack size to add Emscripten to the
exclusion list.

Lib/test/support/__init__.py

index 7bc2e1f3150035330f96a0b195d7fe2cc238f74f..3a639497fa12729bf8584335bf906ea3ae618b58 100644 (file)
@@ -1781,7 +1781,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