mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-06 11:35:24 +08:00
don't warn in iptest if deathrow/quarantine are missing
This commit is contained in:
parent
b0357514ff
commit
d73b4e428e
@ -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…
Reference in New Issue
Block a user