[pypy-commit] cffi default: Skip this test on pypy (it's done already pre-translated)

arigo noreply at buildbot.pypy.org
Mon May 18 23:55:27 CEST 2015


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r2053:8e5609919d2e
Date: 2015-05-18 23:55 +0200
http://bitbucket.org/cffi/cffi/changeset/8e5609919d2e/

Log:	Skip this test on pypy (it's done already pre-translated)

diff --git a/testing/cffi1/test_parse_c_type.py b/testing/cffi1/test_parse_c_type.py
--- a/testing/cffi1/test_parse_c_type.py
+++ b/testing/cffi1/test_parse_c_type.py
@@ -2,6 +2,9 @@
 import cffi
 from cffi import cffi_opcode
 
+if '__pypy__' in sys.builtin_module_names:
+    py.test.skip("not available on pypy")
+
 cffi_dir = os.path.dirname(cffi_opcode.__file__)
 
 r_macro = re.compile(r"#define \w+[(][^\n]*|#include [^\n]*")


More information about the pypy-commit mailing list