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

Method wrap

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

Source from the content-addressed store, hash-verified

31 from _pytest.compat import getfuncargnames
32
33 def wrap(f):
34 def func():
35 pass
36
37 func.__wrapped__ = f # type: ignore
38 return func
39
40 @wrap
41 def f(x):

Callers 3

wrap_writeMethod · 0.80
showhelpFunction · 0.80
_split_linesMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected