summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2014-10-10 08:00:11 +0200
committerStefan Behnel <stefan_ml@behnel.de>2014-10-10 08:00:11 +0200
commitf5188e8ef91fd71e30ad421781630ba3abe49b86 (patch)
tree9dcd3ede5db0353e5aa3331d4f7f0977d9ef27a1
parent49d9254c98ea435e04e4e3f516ee199a2039625e (diff)
downloadcython-f5188e8ef91fd71e30ad421781630ba3abe49b86.tar.gz
restrict Jedi tests to Jedi 0.8.1 and later
--HG-- extra : transplant_source : %CC%5B%1C%85Jy%96%C2%29%CDt%26%E0W%EB%0C8%DF%0Fb
-rwxr-xr-xruntests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py
index 4afa305ab..d30b27bd5 100755
--- a/runtests.py
+++ b/runtests.py
@@ -1951,6 +1951,8 @@ def runtests(options, cmd_args, coverage=None):
try:
import jedi
+ if list(map(int, re.findall('[0-9]+', jedi.__version__))) < [0, 8, 1]:
+ raise ImportError
except ImportError:
exclude_selectors.append(RegExSelector('Jedi'))