MCPcopy
hub / github.com/pytest-dev/pytest / decorator

Function decorator

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

Source from the content-addressed store, hash-verified

44 """Check that get_real_func correctly unwraps decorators until reaching the real function"""
45
46 def decorator(f):
47 @wraps(f)
48 def inner():
49 pass # pragma: no cover
50
51 return inner
52
53 def func():
54 pass # pragma: no cover

Callers 2

test_get_real_funcFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected