• Mark Dickinson's avatar
    Fix failing itertools test: since revision 61118, · 26a96fa4
    Mark Dickinson yazdı
    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.
    26a96fa4
test_itertools.py 41.3 KB