mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
#19006: fix wording in unittest docs.
This commit is contained in:
parent
bed30c37d8
commit
f418db2e8c
1 changed files with 4 additions and 3 deletions
|
|
@ -762,8 +762,9 @@ Test cases
|
||||||
|
|
||||||
.. _assert-methods:
|
.. _assert-methods:
|
||||||
|
|
||||||
The :class:`TestCase` class provides a number of methods to check for and
|
The :class:`TestCase` class provides several assert methods to check for and
|
||||||
report failures, such as:
|
report failures. The following table lists the most commonly used methods
|
||||||
|
(see the tables below for more assert methods):
|
||||||
|
|
||||||
+-----------------------------------------+-----------------------------+---------------+
|
+-----------------------------------------+-----------------------------+---------------+
|
||||||
| Method | Checks that | New in |
|
| 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:
|
log messages using the following methods:
|
||||||
|
|
||||||
+---------------------------------------------------------+--------------------------------------+------------+
|
+---------------------------------------------------------+--------------------------------------+------------+
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue