Skip to content

Commit d9ffc47

Browse files
committed
Update test_dynamic.py from 3.13.7
1 parent ed6caed commit d9ffc47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Lib/test/test_dynamic.py

Lines changed: 3 additions & 3 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 swap_item, swap_attr
7+
from test.support import swap_item, swap_attr, is_wasi, Py_DEBUG
88

99

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

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

137-
# TODO: RUSTPYTHON
138-
@unittest.expectedFailure
137+
@unittest.expectedFailure # TODO: RUSTPYTHON
138+
@unittest.skipIf(is_wasi and Py_DEBUG, "requires too much stack")
139139
def test_load_global_specialization_failure_keeps_oparg(self):
140140
# https://github.com/python/cpython/issues/91625
141141
class MyGlobals(dict):

0 commit comments

Comments
 (0)