diff options
author | Hood Chatham <roberthoodchatham@gmail.com> | 2024-12-05 00:26:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-05 00:26:25 (GMT) |
commit | 43634fc1fcc88b35171aa79258f767ba6477f764 (patch) | |
tree | 14a53e287742fef89c8528a616e491eab2d097f5 /Lib/test/test_functools.py | |
parent | 2f1cee8477e22bfc36a704310e4c0f409357e7e9 (diff) | |
download | cpython-43634fc1fcc88b35171aa79258f767ba6477f764.zip cpython-43634fc1fcc88b35171aa79258f767ba6477f764.tar.gz cpython-43634fc1fcc88b35171aa79258f767ba6477f764.tar.bz2 |
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.
Diffstat (limited to 'Lib/test/test_functools.py')
-rw-r--r-- | Lib/test/test_functools.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_functools.py b/Lib/test/test_functools.py index 6d60f69..ffd2adb 100644 --- a/Lib/test/test_functools.py +++ b/Lib/test/test_functools.py @@ -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 |