Kaydet (Commit) 00b8f9bb authored tarafından Victor Stinner's avatar Victor Stinner

Issue #25274: Workaround test_sys crash just to keep buildbots usable

üst ecef622f
...@@ -208,7 +208,10 @@ class SysModuleTest(unittest.TestCase): ...@@ -208,7 +208,10 @@ class SysModuleTest(unittest.TestCase):
def f(): def f():
f() f()
try: try:
for i in (50, 1000): # FIXME: workaround crash for the issue #25274
# FIXME: until the crash is fixed
#for i in (50, 1000):
for i in (150, 1000):
# Issue #5392: stack overflow after hitting recursion limit twice # Issue #5392: stack overflow after hitting recursion limit twice
sys.setrecursionlimit(i) sys.setrecursionlimit(i)
self.assertRaises(RecursionError, f) self.assertRaises(RecursionError, f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment