Author: Armin Rigo <[email protected]>
Branch:
Changeset: r365:e2e605454124
Date: 2012-06-15 15:32 +0200
http://bitbucket.org/cffi/cffi/changeset/e2e605454124/
Log: Fix on 64-bit.
diff --git a/testing/backend_tests.py b/testing/backend_tests.py
--- a/testing/backend_tests.py
+++ b/testing/backend_tests.py
@@ -689,7 +689,7 @@
def test_pointer_to_array(self):
ffi = FFI(backend=self.Backend())
p = ffi.new("int(*)[5]")
- assert repr(p) == "<cdata 'int(* *)[5]' owning %d bytes>" % SIZE_OF_INT
+ assert repr(p) == "<cdata 'int(* *)[5]' owning %d bytes>" % SIZE_OF_PTR
def test_offsetof(self):
ffi = FFI(backend=self.Backend())
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit