Commit a6d1644d authored by Stefan Behnel's avatar Stefan Behnel

disable JediTyper test if jedi is not installed

parent 8358831b
......@@ -1939,6 +1939,11 @@ def runtests(options, cmd_args, coverage=None):
except (ImportError, AttributeError, TypeError):
exclude_selectors.append(RegExSelector('IPython'))
try:
import jedi
except ImportError:
exclude_selectors.append(RegExSelector('Jedi'))
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