Commit bc4fa878 authored by Stefan Behnel's avatar Stefan Behnel

safety fix

--HG--
extra : transplant_source : 5%0D2%F33%DF%23%1CV%DFf%17%A1%7B%8B%25%E2A%20%F2
parent 793d463d
......@@ -1951,7 +1951,7 @@ def runtests(options, cmd_args, coverage=None):
try:
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
except ImportError:
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