Commit fbcafa4f authored by Jason Madden's avatar Jason Madden

Try to avoid a Fatal Python Error by reducing the Python-level recursion limit more.

parent 843a3b89
...@@ -610,7 +610,7 @@ class TestBasic(greentest.TestCase): ...@@ -610,7 +610,7 @@ class TestBasic(greentest.TestCase):
import sys import sys
limit = sys.getrecursionlimit() limit = sys.getrecursionlimit()
self.addCleanup(sys.setrecursionlimit, limit) self.addCleanup(sys.setrecursionlimit, limit)
sys.setrecursionlimit(limit // 3) sys.setrecursionlimit(limit // 4)
def recur(): def recur():
recur() # This is expected to raise RecursionError recur() # This is expected to raise RecursionError
......
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