Message117194
> Destructors are special cased in many languages and tearDown is not a
> destructor.
Yes, but they are similar.
> More importantly though the change you suggest would be
> backwards incompatible.
> The 'correct' way to do this in new code is to use cleanUp functions
> which *are* called even if an exception is raised during setUp.
I must admit I'm not familiar with unittest framework. Probably
better way exists. |
|
Date |
User |
Action |
Args |
2010-09-23 14:50:28 | ocean-city | set | recipients:
+ ocean-city, lemburg, pitrou, giampaolo.rodola, michael.foord |
2010-09-23 14:50:28 | ocean-city | set | messageid: <1285253428.72.0.169448863551.issue9868@psf.upfronthosting.co.za> |
2010-09-23 14:50:27 | ocean-city | link | issue9868 messages |
2010-09-23 14:50:26 | ocean-city | create | |
|