Fixed #32602 -- Clarified wording of TestCase class.

This commit is contained in:
faishalmanzar 2023-09-29 03:26:10 +05:30 committed by Mariusz Felisiak
parent e99c7d8847
commit f4e72e6523
7 changed files with 26 additions and 23 deletions

View file

@ -1477,12 +1477,12 @@ override this by passing the desired number of processes, e.g.
variable.
Django distributes test cases — :class:`unittest.TestCase` subclasses — to
subprocesses. If there are fewer test cases than configured processes, Django
will reduce the number of processes accordingly.
subprocesses. If there are fewer test case classes than configured processes,
Django will reduce the number of processes accordingly.
Each process gets its own database. You must ensure that different test cases
don't access the same resources. For instance, test cases that touch the
filesystem should create a temporary directory for their own use.
Each process gets its own database. You must ensure that different test case
classes don't access the same resources. For instance, test case classes that
touch the filesystem should create a temporary directory for their own use.
.. note::