Merge pull request #1918 from minrk/nowarnquarantine

don't warn in iptest if deathrow/quarantine are missing, as they only exist in the dev source tree but are never installed.
pull/37/head
Fernando Perez 14 years ago
commit b5e488d78c

@ -298,6 +298,9 @@ def make_exclude():
# check for any exclusions that don't seem to exist:
parent, _ = os.path.split(get_ipython_package_dir())
for exclusion in exclusions:
if exclusion.endswith(('deathrow', 'quarantine')):
# ignore deathrow/quarantine, which exist in dev, but not install
continue
fullpath = pjoin(parent, exclusion)
if not os.path.exists(fullpath) and not glob.glob(fullpath + '.*'):
warn("Excluding nonexistent file: %r\n" % exclusion)

Loading…
Cancel
Save