Py3 test case fix
authorStefan Behnel <scoder@users.berlios.de>
Tue, 30 Dec 2008 11:59:13 +0000 (12:59 +0100)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 30 Dec 2008 11:59:13 +0000 (12:59 +0100)
tests/run/r_forloop.pyx

index d8fe8602c1fd6afa9e62d89733ed512f67f04be6..3514656da62e8c233a10fba75324befeaf5576ba 100644 (file)
@@ -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