summaryrefslogtreecommitdiff
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2016-01-12 11:03:31 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2016-01-12 11:03:31 +0200
commit99a7ca43c0ad1e5212ed238a92a152a5fa5aee51 (patch)
tree3ec931e4f8f101e6fc370786b8f3e09f333dc695 /Doc/library/unittest.rst
parent7aabe6292f51052b99b6bc2b203cd5aa4ca4fbcf (diff)
downloadcpython-99a7ca43c0ad1e5212ed238a92a152a5fa5aee51.tar.gz
#19006: fix wording in unittest docs.
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r--Doc/library/unittest.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index 6caf552515..9647b4b665 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -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:
+---------------------------------------------------------+--------------------------------------+------------+