summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2016-01-12 09:03:31 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2016-01-12 09:03:31 (GMT)
commitf418db2e8cb21638448acbea0ce1d5bbfd0d903e (patch)
tree126125275bc6727ade941317cf395449954bfaea /Doc
parentbed30c37d82a4fdb69e7b82ca5089ff004a2987f (diff)
downloadcpython-f418db2e8cb21638448acbea0ce1d5bbfd0d903e.zip
cpython-f418db2e8cb21638448acbea0ce1d5bbfd0d903e.tar.gz
cpython-f418db2e8cb21638448acbea0ce1d5bbfd0d903e.tar.bz2
#19006: fix wording in unittest docs.
Diffstat (limited to 'Doc')
-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 6caf552..9647b4b 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:
+---------------------------------------------------------+--------------------------------------+------------+