]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make it more clear that setUpClass runs before each class, not "class run" (GH-8844)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 25 Aug 2018 02:26:49 +0000 (22:26 -0400)
committerMariatta <Mariatta@users.noreply.github.com>
Sat, 25 Aug 2018 02:26:49 +0000 (19:26 -0700)
(cherry picked from commit c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf)

Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
Doc/library/unittest.rst

index 16e1049b7a184be75ae254c1bb54e94eaa80f647..99b9ccb8dd8f6b863c3776fb6f1b3aef076c778e 100644 (file)
@@ -705,7 +705,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`::