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

Function decorator

testing/test_compat.py:62–67  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

60 """Check that get_real_func correctly unwraps decorators until reaching the real function"""
61
62 def decorator(f):
63 @wraps(f)
64 def inner():
65 pass # pragma: no cover
66
67 return inner
68
69 def func():
70 pass # pragma: no cover

Callers 2

test_get_real_funcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected