()
| 227 | #----------------------------------------------------------------------------- |
| 228 | |
| 229 | def 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 | |
| 240 | class ExclusionPlugin(Plugin): |
nothing calls this directly
no test coverage detected