From: Dag Sverre Seljebotn Date: Fri, 15 May 2009 20:17:23 +0000 (+0200) Subject: buffer testcase fix again X-Git-Tag: 0.11.2.rc1~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c1f944119b24306ff09dfe816374cf535feb0fe;p=cython.git buffer testcase fix again --- diff --git a/tests/run/buffmt.pyx b/tests/run/buffmt.pyx index 1c194092..581ce59d 100644 --- a/tests/run/buffmt.pyx +++ b/tests/run/buffmt.pyx @@ -88,10 +88,10 @@ def wrongsize(): >>> wrongsize() Traceback (most recent call last): ... - ValueError: Item size of buffer (1 byte) does not match size of 'unsigned long' (8 bytes) + ValueError: Item size of buffer (1 byte) does not match size of 'float' (4 bytes) """ - cdef object[unsigned long] buf = MockBuffer("L", 1) + cdef object[float] buf = MockBuffer("f", 1) @testcase def _obj(fmt):