From 14bcd6ca3273fe2cc47e227fef603a8f6feb13dd Mon Sep 17 00:00:00 2001 From: Min RK Date: Tue, 24 Mar 2015 18:14:39 -0700 Subject: [PATCH] add shim names to iptest needed for test exclusions --- IPython/testing/iptest.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/IPython/testing/iptest.py b/IPython/testing/iptest.py index ef6f6376c..6b20cf2d9 100644 --- a/IPython/testing/iptest.py +++ b/IPython/testing/iptest.py @@ -170,8 +170,13 @@ class TestSection(object): def will_run(self): return self.enabled and all(have[p] for p in self.dependencies) +shims = { + 'parallel': 'ipython_parallel', +} + # Name -> (include, exclude, dependencies_met) -test_sections = {n:TestSection(n, ['IPython.%s' % n]) for n in test_group_names} +test_sections = {n:TestSection(n, [shims.get(n, 'IPython.%s' % n)]) for n in test_group_names} + # Exclusions and dependencies # ---------------------------