Commit ec1b4ad3 authored by Stefan Behnel's avatar Stefan Behnel

fix test after changing dict.keys() in Py3

parent 0163f631
...@@ -91,7 +91,7 @@ def py_enumerate_dict(dict d): ...@@ -91,7 +91,7 @@ def py_enumerate_dict(dict d):
""" """
cdef int i = 55 cdef int i = 55
k = 99 k = 99
keys = d.keys() keys = list(d.keys())
for i,k in enumerate(d): for i,k in enumerate(d):
k = keys[i] == k k = keys[i] == k
print i, k print i, k
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment