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

This commit is contained in:
Victor Stinner 2015-09-30 02:02:49 +02:00
parent ecef622fec
commit 00b8f9bb9e

View file

@ -208,7 +208,10 @@ class SysModuleTest(unittest.TestCase):
def f():
f()
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
sys.setrecursionlimit(i)
self.assertRaises(RecursionError, f)