mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
Make it more clear that setUpClass runs before each class, not "class run" (GH-8844)
This commit is contained in:
parent
48ce4897f8
commit
c33bb5d401
1 changed files with 1 additions and 1 deletions
|
|
@ -724,7 +724,7 @@ Test cases
|
||||||
|
|
||||||
.. method:: setUpClass()
|
.. 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
|
``setUpClass`` is called with the class as the only argument
|
||||||
and must be decorated as a :func:`classmethod`::
|
and must be decorated as a :func:`classmethod`::
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue