diff options
author | Raymond Hettinger <python@rcn.com> | 2008-03-13 01:26:19 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-03-13 01:26:19 (GMT) |
commit | a6c6037f882573c9965e4fac74765357e42148e4 (patch) | |
tree | b35d3490d3d547e3bd86f11e3ad761b2c6445f6b /Lib/test/test_set.py | |
parent | 17301e9fab311badbbe26a1efcb2decf637b324a (diff) | |
download | cpython-a6c6037f882573c9965e4fac74765357e42148e4.zip cpython-a6c6037f882573c9965e4fac74765357e42148e4.tar.gz cpython-a6c6037f882573c9965e4fac74765357e42148e4.tar.bz2 |
Issues 2186 and 2187. Move map() from itertools to builtins.
Diffstat (limited to 'Lib/test/test_set.py')
-rw-r--r-- | Lib/test/test_set.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_set.py b/Lib/test/test_set.py index 9e3d64f..ca3c02e 100644 --- a/Lib/test/test_set.py +++ b/Lib/test/test_set.py @@ -1560,10 +1560,10 @@ class S: def __next__(self): raise StopIteration -from itertools import chain, imap +from itertools import chain def L(seqn): 'Test multiple tiers of iterators' - return chain(imap(lambda x:x, R(Ig(G(seqn))))) + return chain(map(lambda x:x, R(Ig(G(seqn))))) class TestVariousIteratorArgs(unittest.TestCase): |