Commit 4c3018e9 authored by Stefan Behnel's avatar Stefan Behnel

safety fix

parent 0060a354
...@@ -1951,7 +1951,7 @@ def runtests(options, cmd_args, coverage=None): ...@@ -1951,7 +1951,7 @@ def runtests(options, cmd_args, coverage=None):
try: try:
import jedi import jedi
if list(map(int, re.findall('[0-9]+', jedi.__version__))) < [0, 8, 1]: if list(map(int, re.findall('[0-9]+', jedi.__version__ or '0'))) < [0, 8, 1]:
raise ImportError raise ImportError
except ImportError: except ImportError:
exclude_selectors.append(RegExSelector('Jedi')) exclude_selectors.append(RegExSelector('Jedi'))
......
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