1. Python CFFI
  2. Untitled project
  3. cffi

Commits

Armin Rigo  committed d61a612

Improve test, for windows

  • Participants
  • Parent commits 7673342
  • Branches default

Comments (0)

Files changed (1)

File testing/test_ffi_backend.py

View file
 
     def test_not_supported_bitfield_in_result(self):
         ffi = FFI(backend=self.Backend())
-        ffi.cdef("struct foo_s { int x:1; };")
+        ffi.cdef("struct foo_s { int a,b,c,d,e; int x:1; };")
         e = py.test.raises(NotImplementedError, ffi.callback,
                            "struct foo_s foo(void)", lambda: 42)
         assert str(e.value) == ("<struct foo_s(*)(void)>: "