Commit ec32142f authored by Stefan Behnel's avatar Stefan Behnel

fix composite fused types test in Py3

parent de9b270f
...@@ -351,10 +351,11 @@ def test_index_fused_args(cython.floating f, ints_t i): ...@@ -351,10 +351,11 @@ def test_index_fused_args(cython.floating f, ints_t i):
""" """
_test_index_fused_args[cython.floating, ints_t](f, i) _test_index_fused_args[cython.floating, ints_t](f, i)
def test_composite(fused_composite x): def test_composite(fused_composite x):
""" """
>>> test_composite('a') >>> print(test_composite(b'a').decode('ascii'))
'a' a
>>> test_composite(3) >>> test_composite(3)
6 6
>>> test_composite(3.0) >>> test_composite(3.0)
......
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