mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
gh-127146: Emscripten: Skip segfaults in test suite (#127151)
Added skips for tests known to cause problems when running on Emscripten. These mostly relate to the limited stack depth on Emscripten.
This commit is contained in:
parent
2f1cee8477
commit
43634fc1fc
21 changed files with 46 additions and 8 deletions
|
@ -2097,6 +2097,7 @@ class TracebackFormatMixin:
|
|||
return e
|
||||
|
||||
@cpython_only
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
def test_exception_group_deep_recursion_capi(self):
|
||||
from _testcapi import exception_print
|
||||
LIMIT = 75
|
||||
|
@ -2108,6 +2109,7 @@ class TracebackFormatMixin:
|
|||
self.assertIn('ExceptionGroup', output)
|
||||
self.assertLessEqual(output.count('ExceptionGroup'), LIMIT)
|
||||
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
def test_exception_group_deep_recursion_traceback(self):
|
||||
LIMIT = 75
|
||||
eg = self.deep_eg()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue