[issue11664] Add patch method to unittest.TestCase

Éric Araujo report at bugs.python.org
Thu Mar 24 21:49:35 CET 2011


Éric Araujo <merwok at netwok.org> added the comment:

Typo s/self.path/self.patch/

I forgot to mention the rationale for this method: factor out common code to make sure the cleanup is not forgotten.  Also kill debates about addCleanup vs. tearDown vs. try/finally.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11664>
_______________________________________


More information about the Python-bugs-list mailing list