mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Merge pull request #748 from ellisonbg/tornado-iptest
Check for tornado before running frontend.html tests.
This commit is contained in:
commit
1ae92b2d88
@ -111,6 +111,7 @@ if os.name == 'nt':
|
||||
else:
|
||||
have['zmq'] = test_for('zmq', '2.1.4')
|
||||
have['qt'] = test_for('IPython.external.qt')
|
||||
have['tornado'] = test_for('tornado')
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Functions and classes
|
||||
@ -205,6 +206,9 @@ def make_exclude():
|
||||
exclusions.extend([ipjoin('lib', 'pylabtools'),
|
||||
ipjoin('lib', 'tests', 'test_pylabtools')])
|
||||
|
||||
if not have['tornado']:
|
||||
exclusions.append(ipjoin('frontend', 'html'))
|
||||
|
||||
# This is needed for the reg-exp to match on win32 in the ipdoctest plugin.
|
||||
if sys.platform == 'win32':
|
||||
exclusions = [s.replace('\\','\\\\') for s in exclusions]
|
||||
|
Loading…
Reference in New Issue
Block a user