Message102519
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.) |
|
Date |
User |
Action |
Args |
2010-04-07 06:08:37 | chris.jerdonek | set | recipients:
+ chris.jerdonek, rbcollins, r.david.murray, michael.foord, slmnhq |
2010-04-07 06:08:37 | chris.jerdonek | set | messageid: <1270620517.38.0.669385926946.issue7559@psf.upfronthosting.co.za> |
2010-04-07 06:08:35 | chris.jerdonek | link | issue7559 messages |
2010-04-07 06:08:35 | chris.jerdonek | create | |
|