Author: Armin Rigo <[email protected]>
Branch:
Changeset: r993:d61a612737ec
Date: 2012-10-09 11:42 +0200
http://bitbucket.org/cffi/cffi/changeset/d61a612737ec/
Log: Improve test, for windows
diff --git a/testing/test_ffi_backend.py b/testing/test_ffi_backend.py
--- a/testing/test_ffi_backend.py
+++ b/testing/test_ffi_backend.py
@@ -15,7 +15,7 @@
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)>: "
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit