This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients akrpic77, brett.cannon, eric.araujo, eric.snow, ezio.melotti, orsenthil, pitrou, r.david.murray
Date 2012-11-14.20:52:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1352926329.68.0.725798440439.issue10966@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a new patch which removes the expected skips stuff and adds a required_on argument to test.support.import_module() for those cases where missing a module is an error (in the patch it's _winreg on Windows).

If people are fine with this cleanup then the question is whether there are other tests that should be required to exist on certain platforms. E.g. should test_epoll and test_kqueue be required on Linux and BSD, respectively? Any other modules people can think of that should be required on a specific platform? If not then perhaps required_on doesn't need to be an iterable or the whole argument is pointless because there are so few use-cases there is no point in adding the support.

I will improve the message as to why a test was failed in a separate patch since regrtest is messy and it's going to take some work.
History
Date User Action Args
2012-11-14 20:52:09brett.cannonsetrecipients: + brett.cannon, orsenthil, pitrou, ezio.melotti, eric.araujo, r.david.murray, akrpic77, eric.snow
2012-11-14 20:52:09brett.cannonsetmessageid: <1352926329.68.0.725798440439.issue10966@psf.upfronthosting.co.za>
2012-11-14 20:52:09brett.cannonlinkissue10966 messages
2012-11-14 20:52:09brett.cannoncreate