MCPcopy Create free account
hub / github.com/ipython/ipython / skip_file_no_x11

Function skip_file_no_x11

IPython/testing/decorators.py:327–330  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

325
326# not a decorator itself, returns a dummy function to be used as setup
327def skip_file_no_x11(name):
328 warnings.warn("The function `skip_file_no_x11` is deprecated since IPython 4.0",
329 DeprecationWarning, stacklevel=2)
330 return decorated_dummy(skip_if_no_x11, name) if _x11_skip_cond else None
331
332# Other skip decorators
333

Callers

nothing calls this directly

Calls 2

decorated_dummyFunction · 0.85
warnMethod · 0.80

Tested by

no test coverage detected