Message102519
| Author |
chris.jerdonek |
| Recipients |
chris.jerdonek, michael.foord, r.david.murray, rbcollins, slmnhq |
| Date |
2010年04月07日.06:08:32 |
| SpamBayes Score |
5.1699055e-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.) |
|