Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f418db2

Browse files
committed
#19006: fix wording in unittest docs.
1 parent bed30c3 commit f418db2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Doc/library/unittest.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,9 @@ Test cases
762762

763763
.. _assert-methods:
764764

765-
The :class:`TestCase` class provides a number of methods to check for and
766-
report failures, such as:
765+
The :class:`TestCase` class provides several assert methods to check for and
766+
report failures. The following table lists the most commonly used methods
767+
(see the tables below for more assert methods):
767768

768769
+-----------------------------------------+-----------------------------+---------------+
769770
| Method | Checks that | New in |
@@ -884,7 +885,7 @@ Test cases
884885

885886

886887

887-
It is also possible to check the production of exceptions, warnings and
888+
It is also possible to check the production of exceptions, warnings, and
888889
log messages using the following methods:
889890

890891
+---------------------------------------------------------+--------------------------------------+------------+

0 commit comments

Comments
 (0)