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 chris.jerdonek
Recipients Arfrever, brett.cannon, chris.jerdonek, eric.araujo, ezio.melotti, michael.foord, zach.ware
Date 2013-01-14.00:06:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358121987.89.0.109308121743.issue16935@psf.upfronthosting.co.za>
In-reply-to
Content
Without the proposed enhancement, you could also combine Éric's approach with the original patch by doing something like:

try:
    support.import_module(module)
except SkipTest:
    module = None

def setUpModule():
    if module is None:
        raise SkipTest()
History
Date User Action Args
2013-01-14 00:06:29chris.jerdoneksetrecipients: + chris.jerdonek, brett.cannon, ezio.melotti, eric.araujo, Arfrever, michael.foord, zach.ware
2013-01-14 00:06:27chris.jerdoneksetmessageid: <1358121987.89.0.109308121743.issue16935@psf.upfronthosting.co.za>
2013-01-14 00:06:27chris.jerdoneklinkissue16935 messages
2013-01-14 00:06:26chris.jerdonekcreate