[issue10966] eliminate use of ImportError implicitly representing SkipTest

R. David Murray report at bugs.python.org
Fri Mar 25 03:01:18 CET 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Antoine wrote:
> Do you want to keep track of the specificities of each version of the *BSDs?

Currently regrtest does, but they are currently all set to the same list of tests.  Perhaps a FreeBSD generic that implies all versions, and then if we ever have a test that varies per version we can add support for that :)

Brett, I think I misunderstood what you were proposing.  I agree with Antoine that it doesn't seem sensible to make the test suite *fail* for those cases where regrtest currently just says "unexpected skip".  I am, however, in favor of moving the infrastructure for marking tests as expected/unexpected skips out of regrtest and into the tests themselves.  And the expected skip report could be dropped, given that skip messages are printed during the test run for things other than whole modules.

I rely on that list of unexpected skips at the end of regrtest as part of my "things look like I expect" check.  If I don't have given optional-but-normal modules installed I know which ones they are.

----------

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


More information about the Python-bugs-list mailing list