Merge pull request #5265 from ellisonbg/timeout-error

Missing class def for TimeoutError
Thomas Kluyver 12 years ago
commit 9c5f9e3a35

@ -16,6 +16,11 @@ from IPython.utils.tempdir import TemporaryDirectory
MAX_WAITTIME = 30 # seconds to wait for notebook server to start
POLL_INTERVAL = 0.1 # time between attempts
# TimeoutError is a builtin on Python 3. This can be removed when we stop
# supporting Python 2.
class TimeoutError(Exception):
pass
class NotebookTestBase(TestCase):
"""A base class for tests that need a running notebook.

Loading…
Cancel
Save