From 44dddf52d20a246a42317b91ec01258cb43c6f9b Mon Sep 17 00:00:00 2001 From: "Jessica B. Hamrick" Date: Fri, 9 Jan 2015 13:16:06 -0800 Subject: [PATCH] Make sure tests aren't included twice as js and python --- IPython/testing/iptestcontroller.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/IPython/testing/iptestcontroller.py b/IPython/testing/iptestcontroller.py index 49f85f2d0..87b2459ad 100644 --- a/IPython/testing/iptestcontroller.py +++ b/IPython/testing/iptestcontroller.py @@ -431,9 +431,8 @@ def prepare_controllers(options): not to run.""" testgroups = options.testgroups if testgroups: - alljs = all_js_groups() js_testgroups = [g for g in testgroups if g.startswith(js_prefix)] - py_testgroups = [g for g in testgroups if g not in alljs] + py_testgroups = [g for g in testgroups if g not in js_testgroups] else: py_testgroups = py_test_group_names if not options.all: