[TIP] cleanUp for unittest
Fred Drake
fdrake at gmail.com
Fri Apr 3 18:57:57 PDT 2009
On Fri, Apr 3, 2009 at 9:19 PM, Douglas Philips <dgou at mac.com> wrote:
> Still no answer to the question: What is the purpose of tearDown once
> this is added?
> When should I put code into tearDown (if at all) once this is available?
Backward compatibility for existing tests is the main reason.
That's the only reason for keeping around a method that's more
difficult to use correctly.
-Fred
--
Fred L. Drake, Jr. <fdrake at gmail.com>
"Chaos is the score upon which reality is written." --Henry Miller
More information about the testing-in-python
mailing list