From cea19ceb90d04f17529e231d1a5525849a871944 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Thu, 19 Jun 2025 14:27:02 -0700 Subject: [PATCH] gh-127146: Add skip_emscripten_stack_overflow in a few places (GH-135722) More tests that hit stack limits on some platforms. (cherry picked from commit c8c13f8036051c2858956905769b7b9dfde4bbd7) Co-authored-by: Hood Chatham --- Lib/test/test_exceptions.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/test/test_exceptions.py b/Lib/test/test_exceptions.py index 175ef53138689e..57d0656487d4db 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -1445,6 +1445,7 @@ def foo(): foo() support.gc_collect() + @support.skip_emscripten_stack_overflow() @cpython_only def test_recursion_normalizing_exception(self): import_module("_testinternalcapi") @@ -1522,6 +1523,7 @@ def test_recursion_normalizing_infinite_exception(self): self.assertIn(b'Done.', out) + @support.skip_emscripten_stack_overflow() def test_recursion_in_except_handler(self): def set_relative_recursion_limit(n):