[issue10966] eliminate use of ImportError implicitly representing TestSkipped

R. David Murray report at bugs.python.org
Fri Jan 21 22:27:14 CET 2011


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

Ah, I see what you are getting at now.  I was confused by the "raise SkipTest directly" part, since the test suite currently does raise SkipTest instead of ImportError.  So the key change here is to make the test show as a *failure* on those platforms where it is currently reported as an unexpected skip.  We can then eliminate the whole "these skips are expected" bit from regrtest.  That would be a very nice cleanup.

I'm going to mark this as easy, since it is basically a mechanical transformation from the expected skip list in regrtest to calls to a fairly simple new test.support function, and then ripping the obsolete code out of regrtest.  Tedious, but doable in a day.

----------
keywords: +easy

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


More information about the Python-bugs-list mailing list