mirror of https://github.com/python/cpython
#19006: fix wording in unittest docs.
This commit is contained in:
parent
bed30c37d8
commit
f418db2e8c
|
@ -762,8 +762,9 @@ Test cases
|
|||
|
||||
.. _assert-methods:
|
||||
|
||||
The :class:`TestCase` class provides a number of methods to check for and
|
||||
report failures, such as:
|
||||
The :class:`TestCase` class provides several assert methods to check for and
|
||||
report failures. The following table lists the most commonly used methods
|
||||
(see the tables below for more assert methods):
|
||||
|
||||
+-----------------------------------------+-----------------------------+---------------+
|
||||
| Method | Checks that | New in |
|
||||
|
@ -884,7 +885,7 @@ Test cases
|
|||
|
||||
|
||||
|
||||
It is also possible to check the production of exceptions, warnings and
|
||||
It is also possible to check the production of exceptions, warnings, and
|
||||
log messages using the following methods:
|
||||
|
||||
+---------------------------------------------------------+--------------------------------------+------------+
|
||||
|
|
Loading…
Reference in New Issue