Commit 2473f8f6 authored by Stefan Behnel's avatar Stefan Behnel

safety fix

--HG--
extra : transplant_source : %B5%FFz%CA%F5%F5%D3%2B%CF%DF%FE%F1%11%14%1EI%23x%00%0D
parent bc4fa878
......@@ -1953,7 +1953,7 @@ def runtests(options, cmd_args, coverage=None):
import jedi
if list(map(int, re.findall('[0-9]+', jedi.__version__ or '0'))) < [0, 8, 1]:
raise ImportError
except ImportError:
except (ImportError, AttributeError, TypeError):
exclude_selectors.append(RegExSelector('Jedi'))
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