Commit 1f829d19 authored by Stefan Behnel's avatar Stefan Behnel

fix selector usage in test runner

parent 62d62c54
......@@ -1850,7 +1850,7 @@ def runtests(options, cmd_args, coverage=None):
try:
import IPython
except ImportError:
exclude_selectors.append(re.compile('IPython', re.I).search)
exclude_selectors.append(RegExSelector('IPython'))
if options.exclude:
exclude_selectors += [ string_selector(r) for r in options.exclude ]
......
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