python: add check for panda
* tests/python/ipnbdoctest.py: Skip test if panda is not installed.
This commit is contained in:
parent
ae7d4504cd
commit
229be9a5db
1 changed files with 4 additions and 0 deletions
|
|
@ -171,6 +171,10 @@ def canonical_dict(dict, ignores):
|
|||
re.sub(r"(' returned non-zero exit status \d+)\.", r'\1',
|
||||
dict['evalue'])
|
||||
|
||||
if ('ename' in dict and dict['ename'] == 'ModuleNotFoundError' and
|
||||
'pandas' in dict['evalue']):
|
||||
sys.exit(77)
|
||||
|
||||
if 'transient' in dict:
|
||||
del dict['transient']
|
||||
if 'execution_count' in dict:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue