mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +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
|
@ -404,6 +404,7 @@ class TestPartial:
|
|||
self.assertEqual(r, ((1, 2), {}))
|
||||
self.assertIs(type(r[0]), tuple)
|
||||
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
def test_recursive_pickle(self):
|
||||
with replaced_module('functools', self.module):
|
||||
f = self.partial(capture)
|
||||
|
@ -2054,6 +2055,7 @@ class TestLRU:
|
|||
|
||||
@support.skip_on_s390x
|
||||
@unittest.skipIf(support.is_wasi, "WASI has limited C stack")
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
def test_lru_recursion(self):
|
||||
|
||||
@self.module.lru_cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue