Hirokazu Yamamoto <ocean-c...@m2.ccsnet.ne.jp> added the comment: > 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9868> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com