diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-08-23 10:59:06 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-23 10:59:06 -0400 |
commit | 5c437d6fd81f5400504eadd2c578b39a0f052bd0 (patch) | |
tree | 0ed985ea516b429986134202ddfdecb63b9323e2 /Doc | |
parent | 5223ce2131a121201a78d0680302ea06c4a58369 (diff) | |
download | cpython-git-5c437d6fd81f5400504eadd2c578b39a0f052bd0.tar.gz |
Make it more clear that setUpClass runs before each class, not "class run" (GH-8844)
(cherry picked from commit c33bb5d4016fb2fc8f3b6d4b0c14b73b33cdb3cf)
Co-authored-by: Ville Skyttä <ville.skytta@iki.fi>
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 0915926ab7..06368fcb3d 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`:: |