From: Stefan Behnel Date: Tue, 30 Dec 2008 11:59:13 +0000 (+0100) Subject: Py3 test case fix X-Git-Tag: 0.11-beta~60 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0cc907d9abb3e76018f054c97530c77a80203d8f;p=cython.git Py3 test case fix --- diff --git a/tests/run/r_forloop.pyx b/tests/run/r_forloop.pyx index d8fe8602..3514656d 100644 --- a/tests/run/r_forloop.pyx +++ b/tests/run/r_forloop.pyx @@ -128,12 +128,12 @@ def go_c_ret(): return i def go_list(): - cdef list l = range(4) + cdef list l = list(range(4)) for i in l: print u"Spam!" def go_list_ret(): - cdef list l = range(4) + cdef list l = list(range(4)) for i in l: if i > 1: return i