Commit 586af392 authored by Stefan Behnel's avatar Stefan Behnel

Py3 test case fix

parent 636286bd
...@@ -92,15 +92,15 @@ def smoketest(): ...@@ -92,15 +92,15 @@ def smoketest():
def side_effect(x): def side_effect(x):
print "side effect", x print u"side effect", x
return x return x
cdef int c_side_effect(int x): cdef int c_side_effect(int x):
print "c side effect", x print u"c side effect", x
return x return x
def test_side_effects(): def test_side_effects():
a = range(5) a = list(range(5))
a[side_effect(1)] += 10 a[side_effect(1)] += 10
a[c_side_effect(2)] += 100 a[c_side_effect(2)] += 100
cdef int i cdef int i
......
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