Show More
@@ -117,24 +117,9 b' def test_for(item, min_version=None, callback=extract_version):' | |||
|
117 | 117 | # have available at test run time |
|
118 | 118 | have = {} |
|
119 | 119 | |
|
120 | have['curses'] = test_for('_curses') | |
|
121 | 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 | 121 | have['pygments'] = test_for('pygments') |
|
126 | 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 | 125 | # Test suite definitions |
@@ -182,8 +167,7 b" if not have['matplotlib']:" | |||
|
182 | 167 | |
|
183 | 168 | # lib: |
|
184 | 169 | sec = test_sections['lib'] |
|
185 | if not have['zmq']: | |
|
186 | sec.exclude('kernel') | |
|
170 | sec.exclude('kernel') | |
|
187 | 171 | if not have['pygments']: |
|
188 | 172 | sec.exclude('tests.test_lexers') |
|
189 | 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