MCPcopy Create free account
hub / github.com/pytest-dev/pytest / limited_recursion_depth

Function limited_recursion_depth

testing/code/test_excinfo.py:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31@pytest.fixture
32def limited_recursion_depth():
33 before = sys.getrecursionlimit()
34 sys.setrecursionlimit(150)
35 yield
36 sys.setrecursionlimit(before)
37
38
39def test_excinfo_simple() -> None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected