mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
allow js tests to run with tornado 4 and phantomjs
This commit is contained in:
parent
61479fde4c
commit
c0f64529bf
@ -309,10 +309,6 @@ class JSController(TestController):
|
||||
@property
|
||||
def will_run(self):
|
||||
should_run = all(have[a] for a in self.requirements + [self.engine])
|
||||
tornado4 = test_for('tornado.version_info', (4,0,0), callback=None)
|
||||
if should_run and self.engine == 'phantomjs' and tornado4:
|
||||
print("phantomjs cannot connect websockets to tornado 4", file=sys.stderr)
|
||||
return False
|
||||
return should_run
|
||||
|
||||
def _init_server(self):
|
||||
|
Loading…
Reference in New Issue
Block a user