From 308590431921950c6691f40bba8a2341b9d07ba8 2011-04-14 21:48:26 From: MinRK Date: 2011-04-14 21:48:26 Subject: [PATCH] update test exclusions exclude test_irunner w/o pexpect exclude frontend/qt w/o pyzmq or qt closes gh-375 --- diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index bc96126..9fe81e0 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -107,6 +107,7 @@ have['pymongo'] = test_for('pymongo') have['wx'] = test_for('wx') have['wx.aui'] = test_for('wx.aui') have['zmq'] = test_for('zmq', '2.1.4') +have['qt'] = test_for('IPython.external.qt') #----------------------------------------------------------------------------- # Functions and classes @@ -183,11 +184,15 @@ def make_exclude(): if not have['pexpect']: exclusions.extend([ipjoin('scripts', 'irunner'), - ipjoin('lib', 'irunner')]) + ipjoin('lib', 'irunner'), + ipjoin('lib', 'tests', 'test_irunner')]) if not have['zmq']: exclusions.append(ipjoin('zmq')) + exclusions.append(ipjoin('frontend', 'qt')) exclusions.append(ipjoin('parallel')) + elif not have['qt']: + exclusions.append(ipjoin('frontend', 'qt')) if not have['pymongo']: exclusions.append(ipjoin('parallel', 'controller', 'mongodb'))