Skip to content

Commit

Permalink
Fix python tests for tornado 5 (jupyterlab#4121)
Browse files Browse the repository at this point in the history
* Try with pin and non-api tests

* update appveyor script

* try with tornado 5

* try with tornado 5 and turn back on tests

* revert changes to script
  • Loading branch information
blink1073 authored Mar 6, 2018
1 parent 4315cec commit 4d7e404
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jupyterlab/tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ def tmp(*parts):
started = Event()

def start_thread():
if 'asyncio' in sys.modules:
import asyncio
asyncio.set_event_loop(asyncio.new_event_loop())
app = cls.notebook = LabApp(
app_dir=lab_dir,
port=cls.port,
Expand Down

0 comments on commit 4d7e404

Please sign in to comment.