Commit 866ec451 authored by Stefan Behnel's avatar Stefan Behnel

fix string usage in fused types test

parent db2e9a59
...@@ -47,9 +47,9 @@ def test_cdef_func_with_fused_args(): ...@@ -47,9 +47,9 @@ def test_cdef_func_with_fused_args():
4.2 8.6 bunny 4.2 8.6 bunny
12.8 12.8
""" """
print cdef_func_with_fused_args('spam', 'ham', 'eggs').decode('ascii') print cdef_func_with_fused_args(b'spam', b'ham', b'eggs').decode('ascii')
print cdef_func_with_fused_args(10, 20, 'butter') print cdef_func_with_fused_args(10, 20, b'butter')
print cdef_func_with_fused_args(4.2, 8.6, 'bunny') print cdef_func_with_fused_args(4.2, 8.6, b'bunny')
cdef fused_type1 fused_with_pointer(fused_type1 *array): cdef fused_type1 fused_with_pointer(fused_type1 *array):
for i in range(5): for i in range(5):
......
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