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 slmnhq
Recipients michael.foord, r.david.murray, rbcollins, slmnhq
Date 2009-12-28.15:40:12
SpamBayes Score 8.757486e-08
Marked as misclassified No
Message-id <1262014816.38.0.211921650844.issue7559@psf.upfronthosting.co.za>
In-reply-to
Content
I'm attaching a patch (against trunk) which I think is a step in the
right direction but I could use some feedback. 

This patch modifies 'loadTestsFromName()' so that it saves and re-raises
an ImportError.

Further this patch introduces a new unittest
(test_loadTestsFromName__badimport) and slightly modifies two existing
unittests (test_loadTestsFromName__unknown_attr_name,
test_loadTestsFromNames__unknown_attr_name) in test_unittest.py. Also, I
think a second new unittest is needed (test_loadTestsFromNames__badimport).
History
Date User Action Args
2009-12-28 15:40:16slmnhqsetrecipients: + slmnhq, rbcollins, r.david.murray, michael.foord
2009-12-28 15:40:16slmnhqsetmessageid: <1262014816.38.0.211921650844.issue7559@psf.upfronthosting.co.za>
2009-12-28 15:40:14slmnhqlinkissue7559 messages
2009-12-28 15:40:14slmnhqcreate