You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
412 B
16 lines
412 B
# Shim for notebook server or jupyter_server
|
|
#
|
|
# Provides:
|
|
# - ServerTestBase
|
|
# - assert_http_error
|
|
#
|
|
|
|
try:
|
|
from notebook.tests.launchnotebook import (
|
|
assert_http_error,
|
|
NotebookTestBase as ServerTestBase
|
|
)
|
|
except ImportError:
|
|
from jupyter_server.tests.launchnotebook import assert_http_error # noqa
|
|
from jupyter_server.tests.launchserver import ServerTestBase # noqa
|