##// END OF EJS Templates
don't warn in iptest if deathrow/quarantine are missing
MinRK -
Show More
@@ -298,6 +298,9 b' def make_exclude():'
298 # check for any exclusions that don't seem to exist:
298 # check for any exclusions that don't seem to exist:
299 parent, _ = os.path.split(get_ipython_package_dir())
299 parent, _ = os.path.split(get_ipython_package_dir())
300 for exclusion in exclusions:
300 for exclusion in exclusions:
301 if exclusion.endswith(('deathrow', 'quarantine')):
302 # ignore deathrow/quarantine, which exist in dev, but not install
303 continue
301 fullpath = pjoin(parent, exclusion)
304 fullpath = pjoin(parent, exclusion)
302 if not os.path.exists(fullpath) and not glob.glob(fullpath + '.*'):
305 if not os.path.exists(fullpath) and not glob.glob(fullpath + '.*'):
303 warn("Excluding nonexistent file: %r\n" % exclusion)
306 warn("Excluding nonexistent file: %r\n" % exclusion)
General Comments 0
You need to be logged in to leave comments. Login now