Increase recursion limit (broke xdist tests)
This commit is contained in:
parent
4f631440be
commit
a86035625c
|
@ -34,7 +34,7 @@ pytest_version_info = tuple(map(int, pytest.__version__.split(".")[:3]))
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def limited_recursion_depth():
|
def limited_recursion_depth():
|
||||||
before = sys.getrecursionlimit()
|
before = sys.getrecursionlimit()
|
||||||
sys.setrecursionlimit(100)
|
sys.setrecursionlimit(150)
|
||||||
yield
|
yield
|
||||||
sys.setrecursionlimit(before)
|
sys.setrecursionlimit(before)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue