[Python-checkins] cpython (2.7): Issue #18441: Make test.support.requires('gui') skip when it should.

R. David Murray rdmurray at bitdance.com
Mon Jul 22 04:11:42 CEST 2013


On Mon, 22 Jul 2013 02:13:47 +0200, terry.reedy <python-checkins at python.org> wrote:
> +# If buildbot improperly sets gui resource (#18365, #18441), remove it
> +# so requires('gui') tests are skipped while non-gui tests still run.
> +if use_resources and 'gui' in use_resources:

Note that the buildbot cannot "improperly" set the GUI resource.
Setting a resource on the regrtest command line says "please try to run
these tests".  If they can't be run, they should then be skipped for
whatever reason they can't run.

--David


More information about the Python-checkins mailing list