[Python-Dev] [Python-checkins] r83543 - python/branches/py3k/Lib/test/regrtest.py
R. David Murray
rdmurray at bitdance.com
Tue Aug 3 03:51:11 CEST 2010
On Mon, 02 Aug 2010 20:59:52 +0200, georg.brandl <python-checkins at python.org> wrote:
> Author: georg.brandl
> Date: Mon Aug 2 20:59:52 2010
> New Revision: 83543
>
> Log:
> #8560: add progress indicator to regrtest.
[...]
> @@ -517,6 +517,9 @@
> else:
> tests = iter(selected)
>
> + tests = list(tests)
I guess you didn't notice that just above this code is a clause that
says 'if forever' which implements -F/--forever by making tests into a
generator that never runs out...
--
R. David Murray www.bitdance.com
More information about the Python-Dev
mailing list