MCPcopy Index your code
hub / github.com/pyinvoke/invoke / wrapper

Function wrapper

tests/_util.py:27–30  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

25def skip_if_windows(fn):
26 @wraps(fn)
27 def wrapper(*args, **kwargs):
28 if WINDOWS:
29 skip()
30 return fn(*args, **kwargs)
31
32 return wrapper
33

Callers

nothing calls this directly

Calls 4

startMethod · 0.95
stopMethod · 0.95
MockSubprocessClass · 0.85
popMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…