[issue18604] Consolidate gui available checks in test.support

R. David Murray report at bugs.python.org
Wed Jul 31 12:18:27 CEST 2013


R. David Murray added the comment:

I think it is fine to backport this, since it only affects tests, and allows the backported idle tests to be consistent.

For 3/4, I agree that requires should skip always if the GUI infrastructure is not available.  The "don't skip if main" logic is appropriate only for deciding whether or not to run the tests when the test suite is invoked directly (as opposed to through regrtest), not for deciding whether or not to run them when the actual resource is being checked.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18604>
_______________________________________


More information about the Python-bugs-list mailing list