Author: Philip Jenvey <pjen...@underboss.org> Branch: py3k Changeset: r63806:aeb541bf1ab8 Date: 2013-05-02 12:22 -0700 http://bitbucket.org/pypy/pypy/changeset/aeb541bf1ab8/
Log: 2to3 diff --git a/pypy/module/__builtin__/test/test_zip.py b/pypy/module/__builtin__/test/test_zip.py --- a/pypy/module/__builtin__/test/test_zip.py +++ b/pypy/module/__builtin__/test/test_zip.py @@ -15,9 +15,9 @@ def test_two_lists(self): # uses a different code path - assert zip([1, 2, 3], [3, 4, 5]) == [(1, 3), (2, 4), (3, 5)] - assert zip([1, 2, 3], [3, 4]) == [(1, 3), (2, 4)] - assert zip([1, 2], [3, 4, 5]) == [(1, 3), (2, 4)] + assert list(zip([1, 2, 3], [3, 4, 5])) == [(1, 3), (2, 4), (3, 5)] + assert list(zip([1, 2, 3], [3, 4])) == [(1, 3), (2, 4)] + assert list(zip([1, 2], [3, 4, 5])) == [(1, 3), (2, 4)] def test_three_lists_same_size(self): assert list(zip([1, 2, 3], [3, 4, 5], [6, 7, 8])) == ( _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit