summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_iter.py
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2007-02-22 04:45:13 (GMT)
committerBrett Cannon <bcannon@gmail.com>2007-02-22 04:45:13 (GMT)
commiteb6b0eec297d929aa5961f0f6a957b47fd945006 (patch)
tree15bd68959ace8b71f4aad5d8e503542c9eaee7ef /Lib/test/test_iter.py
parent861fd6fdb9592e6d58a281521dea53d47ecc6adf (diff)
downloadcpython-eb6b0eec297d929aa5961f0f6a957b47fd945006.zip
cpython-eb6b0eec297d929aa5961f0f6a957b47fd945006.tar.gz
cpython-eb6b0eec297d929aa5961f0f6a957b47fd945006.tar.bz2
Fix test_iterlen by returning the iterator of dict views. Problem is that
iteritems and itervalues' previous object were both an iterator *and* and iterable. The tests expected an iterator but were given an iterable. Should the 2to3 conversion for iter(values|items|keys) change the code to ``iter(dict.keys())`` to be more compatible?
Diffstat (limited to 'Lib/test/test_iter.py')
0 files changed, 0 insertions, 0 deletions