From 6c1f944119b24306ff09dfe816374cf535feb0fe Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Fri, 15 May 2009 22:17:23 +0200 Subject: [PATCH] buffer testcase fix again --- tests/run/buffmt.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.26.2