]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix failing itertools test: since revision 61118,
authorMark Dickinson <dickinsm@gmail.com>
Sat, 1 Mar 2008 02:27:46 +0000 (02:27 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Sat, 1 Mar 2008 02:27:46 +0000 (02:27 +0000)
commit26a96fa493361ca098e3df3ab0e04c75e694b6ab
tree856c979b59584ec66444c3def4cc6319f3ef0ab0
parent873d9ff84cf991a4a63d659479ab97724e44283d
Fix failing itertools test:  since revision 61118,
itertools.chain consumes its arguments lazily,
so chain(non_iterable) doesn't raise TypeError
until the first call to__next__.  The test has
been changed to reflect this.

Committing this in during the code freeze; the
checkin was approved by Barry.
Lib/test/test_itertools.py