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 ocean-city
Recipients giampaolo.rodola, lemburg, michael.foord, ocean-city, pitrou
Date 2010-09-23.14:50:26
SpamBayes Score 0.000412002
Marked as misclassified No
Message-id <1285253428.72.0.169448863551.issue9868@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2010-09-23 14:50:28ocean-citysetrecipients: + ocean-city, lemburg, pitrou, giampaolo.rodola, michael.foord
2010-09-23 14:50:28ocean-citysetmessageid: <1285253428.72.0.169448863551.issue9868@psf.upfronthosting.co.za>
2010-09-23 14:50:27ocean-citylinkissue9868 messages
2010-09-23 14:50:26ocean-citycreate