Skip to content

Commit

Permalink
Merge pull request #7405 from jhamrick/fix-js-tests
Browse files Browse the repository at this point in the history
Make sure tests aren't included twice as js and python
  • Loading branch information
takluyver committed Jan 9, 2015
2 parents 62757cf + a78564e commit 351430c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions IPython/testing/iptestcontroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 351430c

Please sign in to comment.