fix test after changing dict.keys() in Py3
authorStefan Behnel <stefan_ml@behnel.de>
Fri, 15 Feb 2013 16:07:09 +0000 (17:07 +0100)
committerStefan Behnel <stefan_ml@behnel.de>
Fri, 15 Feb 2013 16:07:09 +0000 (17:07 +0100)
tests/run/enumerate_T316.pyx

index 709e53e..2d66c72 100644 (file)
@@ -91,7 +91,7 @@ def py_enumerate_dict(dict d):
     """
     cdef int i = 55
     k = 99
-    keys = d.keys()
+    keys = list(d.keys())
     for i,k in enumerate(d):
         k = keys[i] == k
         print i, k