Author: Wim Lavrijsen <[email protected]>
Branch: reflex-support
Changeset: r55924:d680216f66a6
Date: 2012-07-02 11:35 -0700
http://bitbucket.org/pypy/pypy/changeset/d680216f66a6/

Log:    use py.test.skip feature instead of made up of same

diff --git a/pypy/module/cppyy/test/test_zjit.py 
b/pypy/module/cppyy/test/test_zjit.py
--- a/pypy/module/cppyy/test/test_zjit.py
+++ b/pypy/module/cppyy/test/test_zjit.py
@@ -177,10 +177,10 @@
         return True
 
 class TestFastPathJIT(LLJitMixin):
+    if not capi.identify() != 'CINT':
+        py.test.skip("CINT does not support fast path")
+
     def _run_zjit(self, method_name):
-        if capi.identify() == 'CINT':   # CINT does not support fast path
-            return
-
         space = FakeSpace()
         drv = jit.JitDriver(greens=[], reds=["i", "inst", "cppmethod"])
         def f():
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to