1. Python CFFI
  2. Untitled project
  3. cffi

Commits

Armin Rigo  committed 43c968f

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

  • Participants
  • Parent commits 66926e0
  • Branches default

Comments (0)

Files changed (1)

File testing/test_function.py

View file
  • Ignore whitespace
     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; };