[Python-checkins] Make it more clear that setUpClass runs before each class, not "class run" (GH-8844)
Mariatta
webhook-mailer at python.org
Thu Aug 23 10:49:22 EDT 2018
https://github.com/python/cpython/commit/c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf
commit: c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf
branch: master
author: Ville Skyttä <ville.skytta at iki.fi>
committer: Mariatta <Mariatta at users.noreply.github.com>
date: 2018-08-23T07:49:18-07:00
summary:
Make it more clear that setUpClass runs before each class, not "class run" (GH-8844)
files:
M Doc/library/unittest.rst
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 224adf08567e..adea431ed48b 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`::
More information about the Python-checkins
mailing list