Commit 4b01e091 authored by Jason Madden's avatar Jason Madden

ensure tests is always a set so the minus operator works

parent a4c994c7
......@@ -128,6 +128,8 @@ def discover(tests=None, ignore=(), coverage=False):
if not tests:
tests = set(glob.glob('test_*.py')) - set(['test_support.py'])
else:
tests = set(tests)
if ignore:
# Always ignore the designated list, even if tests were specified
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment