[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 c8c13f8036)

Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
This commit is contained in:
Miss Islington (bot) 2025-06-19 23:54:04 +02:00 committed by GitHub
parent 0370cb42da
commit 203753b4bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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):