class documentation
class recursionlimit: (source)
A context manager which temporarily modifies the Python recursion limit. The testing framework, coverage, etc. may add an arbitrary number of levels to the depth. To maintain consistency in the tests, the current stack depth is determined when called, then added to the provided limit. Example usage: with recursionlimit(20): # test code here See https://stackoverflow.com/a/50120316/866026