diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2018-08-23 14:49:18 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2018-08-23 14:49:18 (GMT) |
commit | c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf (patch) | |
tree | c5076b92cc7153f732e7ac3654a473caaf3c2f39 /Doc | |
parent | 48ce4897f8f8d91d948ecd1241ffab002df2be9e (diff) | |
download | cpython-c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf.zip cpython-c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf.tar.gz cpython-c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf.tar.bz2 |
Make it more clear that setUpClass runs before each class, not "class run" (GH-8844)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/unittest.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index 224adf0..adea431 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`:: |