From: Stefan Behnel Date: Tue, 30 Dec 2008 12:05:00 +0000 (+0100) Subject: Py3 test case fix X-Git-Tag: 0.11-beta~56 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=586af39265e9d3504793ce13ac5e748036e966ed;p=cython.git Py3 test case fix --- diff --git a/tests/run/inplace.pyx b/tests/run/inplace.pyx index 2d7c6a9c..727c7ccb 100644 --- a/tests/run/inplace.pyx +++ b/tests/run/inplace.pyx @@ -92,15 +92,15 @@ def smoketest(): def side_effect(x): - print "side effect", x + print u"side effect", x return x cdef int c_side_effect(int x): - print "c side effect", x + print u"c side effect", x return x def test_side_effects(): - a = range(5) + a = list(range(5)) a[side_effect(1)] += 10 a[c_side_effect(2)] += 100 cdef int i