Commit 16f809e6 authored by Stefan Behnel's avatar Stefan Behnel

safety fix

parent 4c3018e9
...@@ -1953,7 +1953,7 @@ def runtests(options, cmd_args, coverage=None): ...@@ -1953,7 +1953,7 @@ def runtests(options, cmd_args, coverage=None):
import jedi import jedi
if list(map(int, re.findall('[0-9]+', jedi.__version__ or '0'))) < [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, AttributeError, TypeError):
exclude_selectors.append(RegExSelector('Jedi')) exclude_selectors.append(RegExSelector('Jedi'))
if options.exclude: if 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