Author: Carl Friedrich Bolz-Tereick <[email protected]>
Branch: 
Changeset: r94629:340a8bb00e6c
Date: 2018-05-21 16:02 +0200
http://bitbucket.org/pypy/pypy/changeset/340a8bb00e6c/

Log:    don't fail when there is no JIT

diff --git a/pypy/module/__pypy__/test/test_special.py 
b/pypy/module/__pypy__/test/test_special.py
--- a/pypy/module/__pypy__/test/test_special.py
+++ b/pypy/module/__pypy__/test/test_special.py
@@ -139,7 +139,10 @@
         cls.w_runappdirect = cls.space.wrap(cls.runappdirect)
 
     def test_jit_backend_features(self):
-        from __pypy__ import jit_backend_features
+        try:
+            from __pypy__ import jit_backend_features
+        except ImportError:
+            skip("compiled without jit")
         supported_types = jit_backend_features
         assert isinstance(supported_types, list)
         for x in supported_types:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to