
Jan. 21, 2010
6:09 p.m.
Ignoring many of the finer points brought up here, and putting practicality before purity, I think having setUpClass and tearDownClass methods is a great idea. While we're at it I would also recommend adding module-level setUp and tearDown function -- Google's extension of pyunit implements these and they are often handy for a variety of use cases. -- --Guido van Rossum (python.org/~guido)