[pypy-commit] cffi default: Bah, seems Yet Another ctypes limitation of PyPy. Don't fully care :-/
arigo
noreply at buildbot.pypy.org
Wed Feb 13 12:32:57 CET 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r1157:43c968f23b02
Date: 2013-02-13 12:32 +0100
http://bitbucket.org/cffi/cffi/changeset/43c968f23b02/
Log: Bah, seems Yet Another ctypes limitation of PyPy. Don't fully care
:-/
diff --git a/testing/test_function.py b/testing/test_function.py
--- a/testing/test_function.py
+++ b/testing/test_function.py
@@ -276,6 +276,9 @@
def test_function_with_struct_argument(self):
if sys.platform == 'win32':
py.test.skip("no 'inet_ntoa'")
+ if (self.Backend is CTypesBackend and
+ '__pypy__' in sys.builtin_module_names):
+ py.test.skip("ctypes limitation on pypy")
ffi = FFI(backend=self.Backend())
ffi.cdef("""
struct in_addr { unsigned int s_addr; };
More information about the pypy-commit
mailing list