summaryrefslogtreecommitdiff
path: root/runtests.py
diff options
context:
space:
mode:
authorRichard Oudkerk <shibturn@gmail.com>2013-01-25 17:19:37 +0000
committerRichard Oudkerk <shibturn@gmail.com>2013-01-25 17:19:37 +0000
commit347f4e51b7aa79a33a648da07f434d3636e7434a (patch)
tree762599626ed4b1e9da72261c4ca22aba90aa4f0a /runtests.py
parentb9d81e49714bb054e0f3d0ecb34ca86377dc8772 (diff)
downloadtrollius-347f4e51b7aa79a33a648da07f434d3636e7434a.tar.gz
Disable subprocess_test on Windows.
Diffstat (limited to 'runtests.py')
-rw-r--r--runtests.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py
index e2598c9..d18fe7d 100644
--- a/runtests.py
+++ b/runtests.py
@@ -27,6 +27,12 @@ TULIP_DIR = os.path.join(os.path.dirname(__file__), 'tulip')
def load_tests(includes=(), excludes=()):
test_mods = [f[:-3] for f in os.listdir(TULIP_DIR) if f.endswith('_test.py')]
+
+ if sys.platform == 'win32':
+ try:
+ test_mods.remove('subprocess_test')
+ except ValueError:
+ pass
tulip = __import__('tulip', fromlist=test_mods)
loader = unittest.TestLoader()