Commits

Armin Rigo committed 43c968f

Bah, seems Yet Another ctypes limitation of PyPy. Don't fully care :-/

Comments (0)

Files changed (1)

testing/test_function.py

     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; };