[Python-Dev] setUpClass and setUpModule in unittest

Brian Curtin brian.curtin at gmail.com
Tue Feb 9 20:16:51 CET 2010


On Tue, Feb 9, 2010 at 12:29, Olemis Lang <olemis at gmail.com> wrote:

> On Tue, Feb 9, 2010 at 11:42 AM, Michael Foord
> <fuzzyman at voidspace.org.uk> wrote:
> > I'm pretty sure I can introduce setUpClass and setUpModule without
> breaking
> > compatibility with existing unittest extensions or backwards
> compatibility
> > issues
>
> Is it possible to use the names `BeforeClass` and `AfterClass` (just
> to be make it look similar to JUnit naming conventions ;o) ?
> --
> Regards,
>
> Olemis.
>

-1. setUp/tearDown is already well established here so I think it should
follow the same convention.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20100209/33acf125/attachment.htm>


More information about the Python-Dev mailing list