Commit 6c1f9441 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

buffer testcase fix again

parent 38410081
...@@ -88,10 +88,10 @@ def wrongsize(): ...@@ -88,10 +88,10 @@ def wrongsize():
>>> wrongsize() >>> wrongsize()
Traceback (most recent call last): 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 @testcase
def _obj(fmt): def _obj(fmt):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment