From: Ville Skyttä Date: Thu, 23 Aug 2018 14:49:18 +0000 (+0300) Subject: Make it more clear that setUpClass runs before each class, not "class run" (GH-8844) X-Git-Tag: v3.8.0a1~1177 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf;p=python Make it more clear that setUpClass runs before each class, not "class run" (GH-8844) --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 224adf0856..adea431ed4 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -724,7 +724,7 @@ Test cases .. method:: setUpClass() - A class method called before tests in an individual class run. + A class method called before tests in an individual class are run. ``setUpClass`` is called with the class as the only argument and must be decorated as a :func:`classmethod`::