[Python-checkins] r55197 - python/trunk/Lib/test/test_support.py

Collin Winter collinw at gmail.com
Wed May 9 06:20:29 CEST 2007


On 5/8/07, collin.winter <python-checkins at python.org> wrote:
> If the call to requires() doesn't precede the filesystem check, we get the following situation:
> 1. ./python Lib/test/regrtest.py test_foo # test needs urlfetch, not enabled, so skipped
> 2. ./python Lib/test/regrtest.py -u urlfetch test_foo # test runs
> 3. ./python Lib/test/regrtest.py test_foo # test runs (!)
>
> By moving the call to requires() *after* the filesystem check,
[snip]

That should be "before", not "after"; fixed with propedit.


More information about the Python-checkins mailing list