Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Spot
Spot
Commits
229be9a5
Commit
229be9a5
authored
Sep 15, 2020
by
Jérôme Dubois
Browse files
python: add check for panda
* tests/python/ipnbdoctest.py: Skip test if panda is not installed.
parent
ae7d4504
Pipeline
#21601
canceled with stages
in 3 minutes and 19 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
tests/python/ipnbdoctest.py
View file @
229be9a5
...
...
@@ -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
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment