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

Function check_exclusions_exist

IPython/testing/iptest.py:229–237  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

227#-----------------------------------------------------------------------------
228
229def check_exclusions_exist():
230 from IPython.paths import get_ipython_package_dir
231 from warnings import warn
232 parent = os.path.dirname(get_ipython_package_dir())
233 for sec in test_sections:
234 for pattern in sec.exclusions:
235 fullpath = pjoin(parent, pattern)
236 if not os.path.exists(fullpath) and not glob.glob(fullpath + '.*'):
237 warn("Excluding nonexistent file: %r" % pattern)
238
239
240class ExclusionPlugin(Plugin):

Callers

nothing calls this directly

Calls 1

get_ipython_package_dirFunction · 0.90

Tested by

no test coverage detected