Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r58187:19919f902c31
Date: 2012-10-17 11:23 -0700
http://bitbucket.org/pypy/pypy/changeset/19919f902c31/

Log:    fix for py3 map

diff --git a/pypy/module/_collections/test/test_deque.py 
b/pypy/module/_collections/test/test_deque.py
--- a/pypy/module/_collections/test/test_deque.py
+++ b/pypy/module/_collections/test/test_deque.py
@@ -171,7 +171,7 @@
         assert list(d) == list(reversed(range(1000, 1200)))
         #
         n = 100
-        data = map(str, range(n))
+        data = list(map(str, range(n)))
         for i in range(n):
             d = deque(data[:i])
             r = d.reverse()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to