]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix tests that were trying to make iteration blow up, on broken iterators.
authorThomas Wouters <thomas@python.org>
Sat, 15 Apr 2006 09:07:20 +0000 (09:07 +0000)
committerThomas Wouters <thomas@python.org>
Sat, 15 Apr 2006 09:07:20 +0000 (09:07 +0000)
commit8690c4ed3fa1f1889459249c7e50e11c2052b340
tree55eda053a8f2cfde2e4306ea0892a1116c7607a4
parent0725cf2127128654ccc54ac9155a8cf0233b7348
Fix tests that were trying to make iteration blow up, on broken iterators.
Since the broken iterators are now new-style classes, iter() was able to do
the valid-iterator check sooner (on instantiation instead of on first call),
making the tests blow up sooner than expected.
Lib/test/test_itertools.py