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

Function wrap

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

Source from the content-addressed store, hash-verified

84 pass
85
86 def wrap(f):
87 func.__wrapped__ = f # type: ignore
88 func.patchings = ["qwe"] # type: ignore
89 return func
90
91 @wrap
92 def wrapped_func(x, y, z):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected