From 586af39265e9d3504793ce13ac5e748036e966ed Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 30 Dec 2008 13:05:00 +0100 Subject: [PATCH] Py3 test case fix --- tests/run/inplace.pyx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- 2.26.2