From c8c13f8036051c2858956905769b7b9dfde4bbd7 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 (#135722) More tests that hit stack limits on some platforms. --- 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