Skip to content
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions test/python/tools/jupyter/test_notebooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
# copyright notice, and modified files need to carry a notice indicating
# that they have been altered from the originals.

# pylint: disable=bad-docstring-quotes

"""Tests for the wrapper functionality."""

import os
Expand All @@ -20,6 +22,7 @@

import nbformat
from nbconvert.preprocessors import ExecutePreprocessor
import qiskit
from qiskit.tools.visualization import HAS_MATPLOTLIB
from qiskit.test import (Path, QiskitTestCase, online_test, slow_test)

Expand All @@ -30,6 +33,8 @@
JUPYTER_KERNEL = 'python3'


@unittest.skipUnless(hasattr(qiskit, 'IBMQ'),
'qiskit-ibmq-provider is required for these tests')
class TestJupyter(QiskitTestCase):
"""Notebooks test case."""
def setUp(self):
Expand Down