Author chris.jerdonek
Recipients chris.jerdonek, michael.foord, r.david.murray, rbcollins, slmnhq
Date 2010-04-07.06:08:32
SpamBayes Score 5.16991e-05
Marked as misclassified No
Message-id <1270620517.38.0.669385926946.issue7559@psf.upfronthosting.co.za>
In-reply-to
Content
Rietveld link: http://codereview.appspot.com/810044/show

This patch changes unittest.TestLoader.loadTestsFromName() so that ImportErrors will bubble up when importing from a module with a bad import statement.  Before the method raised an AttributeError.  The unit test code is taken from a patch by Salman Haq.  The patch also includes code adapted from http://twistedmatrix.com .

(This is my first patch, so any guidance is greatly appreciated.  Thanks.)
History
Date User Action Args
2010-04-07 06:08:37chris.jerdoneksetrecipients: + chris.jerdonek, rbcollins, r.david.murray, michael.foord, slmnhq
2010-04-07 06:08:37chris.jerdoneksetmessageid: <1270620517.38.0.669385926946.issue7559@psf.upfronthosting.co.za>
2010-04-07 06:08:35chris.jerdoneklinkissue7559 messages
2010-04-07 06:08:35chris.jerdonekcreate