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

Method wrap

testing/python/integration.py:104–109  ·  view source on GitHub ↗
(f)

Source from the content-addressed store, hash-verified

102 from _pytest.compat import getfuncargnames
103
104 def wrap(f):
105 def func():
106 pass
107
108 func.__wrapped__ = f # type: ignore
109 return func
110
111 @wrap
112 def f(x):

Callers 2

showhelpFunction · 0.80
_split_linesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected