Commit d358521b authored by Maximilien Colange's avatar Maximilien Colange
Browse files

Fix script running IPython tests

* tests/python/ipnbdoctest.py: skip test when jupyter is not found
parent 7b2517a5
......@@ -35,8 +35,12 @@ except ImportError:
try:
from IPython.kernel import KernelManager
except ImportError:
from IPython.zmq.blockingkernelmanager \
import BlockingKernelManager as KernelManager
try:
from IPython.zmq.blockingkernelmanager \
import BlockingKernelManager as KernelManager
except:
print('IPython is needed to run this script.')
sys.exit(77)
# Until Debian Stable ships IPython >3.0, we stick to the v3 format.
try:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment