Skip to content

Commit

Permalink
test for pygments before running qt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed May 22, 2012
1 parent cffb287 commit cc67fb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion IPython/testing/iptest.py
Expand Up @@ -144,6 +144,7 @@ def test_for(item, min_version=None, callback=extract_version):
have['matplotlib'] = test_for('matplotlib')
have['pexpect'] = test_for('IPython.external.pexpect')
have['pymongo'] = test_for('pymongo')
have['pygments'] = test_for('pygments')
have['wx'] = test_for('wx')
have['wx.aui'] = test_for('wx.aui')
have['qt'] = test_for('IPython.external.qt')
Expand Down Expand Up @@ -255,7 +256,7 @@ def make_exclude():
exclusions.append(ipjoin('frontend', 'consoleapp.py'))
exclusions.append(ipjoin('frontend', 'terminal', 'console'))
exclusions.append(ipjoin('parallel'))
elif not have['qt']:
elif not have['qt'] or not have['pygments']:
exclusions.append(ipjoin('frontend', 'qt'))

if not have['pymongo']:
Expand Down

0 comments on commit cc67fb9

Please sign in to comment.