Skip to content

Commit

Permalink
Merge pull request #43 from blink1073/tornado-5-compat
Browse files Browse the repository at this point in the history
Update test for tornado 5
  • Loading branch information
blink1073 authored Mar 5, 2018
2 parents 222581a + 43d1059 commit 7478b6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jupyterlab_launcher/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ def tmp(*parts):
workspaces_dir=pjoin(here, 'workspaces'))

def start_thread():
if 'asyncio' in sys.modules:
import asyncio
asyncio.set_event_loop(asyncio.new_event_loop())
app = cls.notebook = LabLauncherApp(
port=cls.port,
port_retries=0,
Expand Down

0 comments on commit 7478b6c

Please sign in to comment.