8000 gh-117645: Skip test_dynamic global specialization on WASI (#117646) · python/cpython@ac45766 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac45766

Browse files
authored
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.
1 parent ed785c0 commit ac45766

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Lib/test/test_dynamic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import sys
55
import unittest
66

7-
from test.support import is_wasi, Py_DEBUG, swap_item, swap_attr
7+
from test.support import is_wasi, swap_item, swap_attr
88

99

1010
class RebindBuiltinsTests(unittest.TestCase):
@@ -134,7 +134,7 @@ def test_eval_gives_lambda_custom_globals(self):
134134

135135
self.assertEqual(foo(), 7)
136136

137-
@unittest.skipIf(is_wasi and Py_DEBUG, "stack depth too shallow in pydebug WASI")
137+
@unittest.skipIf(is_wasi, "stack depth too shallow in WASI")
138138
def test_load_global_specialization_failure_keeps_oparg(self):
139139
# https://github.com/python/cpython/issues/91625
140140
class MyGlobals(dict):

0 commit comments

Comments
 (0)
0