]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
#19006: fix wording in unittest docs.
authorEzio Melotti <ezio.melotti@gmail.com>
Tue, 12 Jan 2016 09:03:31 +0000 (11:03 +0200)
committerEzio Melotti <ezio.melotti@gmail.com>
Tue, 12 Jan 2016 09:03:31 +0000 (11:03 +0200)
Doc/library/unittest.rst

index 6caf552515bfc3e67c98494c7308b64be3b40a3b..9647b4b665367aad6978d99920f6f4e422c879db 100644 (file)
@@ -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:
 
    +---------------------------------------------------------+--------------------------------------+------------+