From 0cc907d9abb3e76018f054c97530c77a80203d8f Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 30 Dec 2008 12:59:13 +0100 Subject: [PATCH] Py3 test case fix --- tests/run/r_forloop.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.26.2