Message181800
My concern is that this re-uses the existing TestResult.add* methods in a different way (including calling addError multiple times). This can break existing tools.
Fix suggested by lifeless on IRC. A sub test failure / success / exception calls the following TestResult method:
addSubTest(test, sub_id, err_or_None)
If we're using a TestResult object that doesn't have these methods (an "old" result objects) then the test can *stop* (i.e. revert to the old behaviour before sub tests existed). |
|
Date |
User |
Action |
Args |
2013-02-10 12:57:59 | michael.foord | set | recipients:
+ michael.foord, brett.cannon, spiv, exarkun, ncoghlan, pitrou, ezio.melotti, eric.araujo, Arfrever, r.david.murray, brian.curtin, hpk, fperez, chris.jerdonek, Yaroslav.Halchenko, santoso.wijaya, nchauvat, Julian, abingham, eric.snow, serhiy.storchaka, borja.ruiz, bfroehle |
2013-02-10 12:57:59 | michael.foord | set | messageid: <1360501079.74.0.393852890088.issue16997@psf.upfronthosting.co.za> |
2013-02-10 12:57:59 | michael.foord | link | issue16997 messages |
2013-02-10 12:57:59 | michael.foord | create | |
|