MCPcopy Index your code
hub / github.com/ipython/ipython / wrapper

Function wrapper

tests/test_ultratb.py:37–43  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

35
36 def inner(test_function):
37 def wrapper(*args, **kwargs):
38 rl = sys.getrecursionlimit()
39 sys.setrecursionlimit(frames)
40 try:
41 return test_function(*args, **kwargs)
42 finally:
43 sys.setrecursionlimit(rl)
44
45 return wrapper
46

Callers

nothing calls this directly

Calls 1

test_functionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…