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 ysj.ray
Recipients eric.araujo, michael.foord, ysj.ray
Date 2010-12-10.06:29:02
SpamBayes Score 0.0053976593
Marked as misclassified No
Message-id <1291962545.78.0.30144923179.issue10611@psf.upfronthosting.co.za>
In-reply-to
Content
Agreed. I think the "except Exception" in TestCase.run() should be "except BaseException", since BaseException could catch Exception, SystemExit, GeneratorExit, KeyboardInterrupt. The KeyboardInterrupt should be caught first. The remaining three is exactly what is needed.

Here is a patch I worked, with unittest.
History
Date User Action Args
2010-12-10 06:29:05ysj.raysetrecipients: + ysj.ray, eric.araujo, michael.foord
2010-12-10 06:29:05ysj.raysetmessageid: <1291962545.78.0.30144923179.issue10611@psf.upfronthosting.co.za>
2010-12-10 06:29:03ysj.raylinkissue10611 messages
2010-12-10 06:29:03ysj.raycreate