From ec1b4ad3774c7951eb66578663f70eb2e4789fae Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 15 Feb 2013 17:07:09 +0100 Subject: [PATCH] fix test after changing dict.keys() in Py3 --- tests/run/enumerate_T316.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run/enumerate_T316.pyx b/tests/run/enumerate_T316.pyx index 709e53e..2d66c72 100644 --- a/tests/run/enumerate_T316.pyx +++ b/tests/run/enumerate_T316.pyx @@ -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 -- 2.7.4