Author: Manuel Jacob <[email protected]>
Branch: py3.3
Changeset: r76187:a535e6deaf20
Date: 2015-02-27 22:34 +0100
http://bitbucket.org/pypy/pypy/changeset/a535e6deaf20/
Log: Set recursion limit higher in conftest.py because otherwise many
app-level tests fail (this is probably because the import system is
now written in pure python).
diff --git a/pypy/conftest.py b/pypy/conftest.py
--- a/pypy/conftest.py
+++ b/pypy/conftest.py
@@ -1,6 +1,10 @@
import py, pytest, sys, os, textwrap
from inspect import isclass
+if hasattr(sys, 'setrecursionlimit'):
+ # some tests fail otherwise
+ sys.setrecursionlimit(2000)
+
PYTHON3 = os.getenv('PYTHON3') or py.path.local.sysfind('python3')
if PYTHON3 is not None:
PYTHON3 = str(PYTHON3)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit