1 new changeset in pytest: http://bitbucket.org/hpk42/pytest/changeset/a7ef3cbb38f3/ changeset: r2190:a7ef3cbb38f3 user: hpk42 date: 2011-03-16 19:05:28 summary: add @classmethod although it's not strictly neccessary for basic cases. affected #: 1 file (34 bytes)
--- a/doc/xunit_setup.txt Wed Mar 16 18:00:52 2011 +0100 +++ b/doc/xunit_setup.txt Wed Mar 16 19:05:28 2011 +0100 @@ -39,11 +39,13 @@ Similarly, the following methods are called at class level before and after all test methods of the class are called:: + @classmethod def setup_class(cls): """ setup up any state specific to the execution of the given class (which usually contains tests). """ + @classmethod def teardown_class(cls): """ teardown any state that was previously setup with a call to setup_class. Repository URL: https://bitbucket.org/hpk42/pytest/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email. _______________________________________________ py-svn mailing list py-svn@codespeak.net http://codespeak.net/mailman/listinfo/py-svn