diff options
author | Victor Stinner <vstinner@python.org> | 2024-04-08 19:11:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-08 19:11:08 (GMT) |
commit | ac45766673b181ace8fbafe36c89bde910968f0e (patch) | |
tree | a67531dcb55c7fcc094063b5520f02a8128232e6 | |
parent | ed785c08993467461711c56eb5e6f88331062cca (diff) | |
download | cpython-ac45766673b181ace8fbafe36c89bde910968f0e.zip cpython-ac45766673b181ace8fbafe36c89bde910968f0e.tar.gz cpython-ac45766673b181ace8fbafe36c89bde910968f0e.tar.bz2 |
gh-117645: Skip test_dynamic global specialization on WASI (#117646)
Skip test_load_global_specialization_failure_keeps_oparg() of
test_dynamic on WASI build. The test uses too much stack memory.
-rw-r--r-- | Lib/test/test_dynamic.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_dynamic.py b/Lib/test/test_dynamic.py index 3928bba..0cb56a9 100644 --- a/Lib/test/test_dynamic.py +++ b/Lib/test/test_dynamic.py @@ -4,7 +4,7 @@ import builtins import sys import unittest -from test.support import is_wasi, Py_DEBUG, swap_item, swap_attr +from test.support import is_wasi, swap_item, swap_attr class RebindBuiltinsTests(unittest.TestCase): @@ -134,7 +134,7 @@ class RebindBuiltinsTests(unittest.TestCase): self.assertEqual(foo(), 7) - @unittest.skipIf(is_wasi and Py_DEBUG, "stack depth too shallow in pydebug WASI") + @unittest.skipIf(is_wasi, "stack depth too shallow in WASI") def test_load_global_specialization_failure_keeps_oparg(self): # https://github.com/python/cpython/issues/91625 class MyGlobals(dict): |