We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c152988 commit 4d66c6bCopy full SHA for 4d66c6b
batchspawner/tests/conftest.py
@@ -1,3 +1,10 @@
1
-"""py.test fixtures imported from Jupyterhub testing"""
+"""Relevant pytest fixtures are re-used from JupyterHub's test suite"""
2
3
-from jupyterhub.tests.conftest import *
+# We only use "db" and "io_loop", but we also need event_loop which is used by
4
+# io_loop to be available with jupyterhub 1+.
5
+from jupyterhub.tests.conftest import db, io_loop
6
+
7
+try:
8
+ from jupyterhub.tests.conftest import event_loop
9
+except:
10
+ pass
0 commit comments