]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-127146: Add skip_emscripten_stack_overflow in a few places (#135722)
authorHood Chatham <roberthoodchatham@gmail.com>
Thu, 19 Jun 2025 21:27:02 +0000 (14:27 -0700)
committerGitHub <noreply@github.com>
Thu, 19 Jun 2025 21:27:02 +0000 (05:27 +0800)
More tests that hit stack limits on some platforms.

Lib/test/test_exceptions.py

index 175ef53138689edf8b8d17fb2357c091a17261ee..57d0656487d4db642d6879daa4db4ea5d07fa140 100644 (file)
@@ -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):