From 203753b4bbfa42d18320fdd151e678af4afa1c5a Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Thu, 19 Jun 2025 23:54:04 +0200 Subject: [PATCH] [3.14] gh-127146: Add skip_emscripten_stack_overflow in a few places (GH-135722) (#135733) 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 175ef5313868..57d0656487d4 100644 --- a/Lib/test/test_exceptions.py +++ b/Lib/test/test_exceptions.py @@ -1445,6 +1445,7 @@ class ExceptionTests(unittest.TestCase): foo() support.gc_collect() + @support.skip_emscripten_stack_overflow() @cpython_only def test_recursion_normalizing_exception(self): import_module("_testinternalcapi") @@ -1522,6 +1523,7 @@ class ExceptionTests(unittest.TestCase): self.assertIn(b'Done.', out) + @support.skip_emscripten_stack_overflow() def test_recursion_in_except_handler(self): def set_relative_recursion_limit(n): -- 2.47.3