From 981f3e28d5e8f31a834e861d7910adf11bc68c1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 23 Aug 2018 17:49:18 +0300 Subject: [PATCH] Make it more clear that setUpClass runs before each class, not "class run" (GH-8844) (cherry picked from commit c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Ville Skyttä --- Doc/library/unittest.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 0915926ab7c137..06368fcb3d1f36 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -730,7 +730,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`::