"finally" for unit test

skip at pobox.com skip at pobox.com
Fri Mar 23 07:32:05 EDT 2007


    gabriel> Is there something like a finally for unittest functions?

TestCase instances have setUp() and tearDown() methods:

    http://docs.python.org/dev/lib/testcase-objects.html

Skip



More information about the Python-list mailing list