##// END OF EJS Templates
Merge pull request #5265 from ellisonbg/timeout-error...
Thomas Kluyver -
r15628:dfd5cb1d merge
parent child Browse files
Show More
@@ -16,6 +16,11 b' from IPython.utils.tempdir import TemporaryDirectory'
16 MAX_WAITTIME = 30 # seconds to wait for notebook server to start
16 MAX_WAITTIME = 30 # seconds to wait for notebook server to start
17 POLL_INTERVAL = 0.1 # time between attempts
17 POLL_INTERVAL = 0.1 # time between attempts
18
18
19 # TimeoutError is a builtin on Python 3. This can be removed when we stop
20 # supporting Python 2.
21 class TimeoutError(Exception):
22 pass
23
19 class NotebookTestBase(TestCase):
24 class NotebookTestBase(TestCase):
20 """A base class for tests that need a running notebook.
25 """A base class for tests that need a running notebook.
21
26
General Comments 0
You need to be logged in to leave comments. Login now