diff options
author | Guido van Rossum <guido@python.org> | 2006-08-24 19:48:10 +0000 |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2006-08-24 19:48:10 +0000 |
commit | 801f0d78b5582a325d489831b991adb873067e80 (patch) | |
tree | 4a5bde7b1386ea73ca0161ffb205911459fff63c /Lib/test/test_enumerate.py | |
parent | d38abe94841194e3c92bfa2cfb89df36c82607a1 (diff) | |
download | cpython-git-801f0d78b5582a325d489831b991adb873067e80.tar.gz |
Make built-in zip() equal to itertools.izip().
I mea, *really* equal -- for now, the implementation just imports
itertools. :-)
The only other changes necessary were various unit tests that were
assuming zip() returns a real list. No "real" code made this assumption.
Diffstat (limited to 'Lib/test/test_enumerate.py')
-rw-r--r-- | Lib/test/test_enumerate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_enumerate.py b/Lib/test/test_enumerate.py index 10ff8f4c97..4ee8680e8d 100644 --- a/Lib/test/test_enumerate.py +++ b/Lib/test/test_enumerate.py @@ -122,7 +122,7 @@ class TestEmpty(EnumerateTestCase): class TestBig(EnumerateTestCase): seq = range(10,20000,2) - res = zip(range(20000), seq) + res = list(zip(range(20000), seq)) class TestReversed(unittest.TestCase): |