##// END OF EJS Templates
remove unused dependency checks
Min RK -
Show More
@@ -117,24 +117,9 b' def test_for(item, min_version=None, callback=extract_version):'
117 # have available at test run time
117 # have available at test run time
118 have = {}
118 have = {}
119
119
120 have['curses'] = test_for('_curses')
121 have['matplotlib'] = test_for('matplotlib')
120 have['matplotlib'] = test_for('matplotlib')
122 have['numpy'] = test_for('numpy')
123 have['pexpect'] = test_for('pexpect')
124 have['pymongo'] = test_for('pymongo')
125 have['pygments'] = test_for('pygments')
121 have['pygments'] = test_for('pygments')
126 have['sqlite3'] = test_for('sqlite3')
122 have['sqlite3'] = test_for('sqlite3')
127 have['tornado'] = test_for('tornado.version_info', (4,0), callback=None)
128 have['jinja2'] = test_for('jinja2')
129 have['mistune'] = test_for('mistune')
130 have['requests'] = test_for('requests')
131 have['sphinx'] = test_for('sphinx')
132 have['jsonschema'] = test_for('jsonschema')
133 have['terminado'] = test_for('terminado')
134
135 min_zmq = (13,)
136
137 have['zmq'] = test_for('zmq.pyzmq_version_info', min_zmq, callback=lambda x: x())
138
123
139 #-----------------------------------------------------------------------------
124 #-----------------------------------------------------------------------------
140 # Test suite definitions
125 # Test suite definitions
@@ -182,8 +167,7 b" if not have['matplotlib']:"
182
167
183 # lib:
168 # lib:
184 sec = test_sections['lib']
169 sec = test_sections['lib']
185 if not have['zmq']:
170 sec.exclude('kernel')
186 sec.exclude('kernel')
187 if not have['pygments']:
171 if not have['pygments']:
188 sec.exclude('tests.test_lexers')
172 sec.exclude('tests.test_lexers')
189 # We do this unconditionally, so that the test suite doesn't import
173 # We do this unconditionally, so that the test suite doesn't import
General Comments 0
You need to be logged in to leave comments. Login now