[Python-checkins] cpython (3.5): #19006: fix wording in unittest docs.
ezio.melotti
python-checkins at python.org
Tue Jan 12 04:04:02 EST 2016
https://hg.python.org/cpython/rev/84f34e8685de
changeset: 99874:84f34e8685de
branch: 3.5
parent: 99871:01ab138f4133
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Tue Jan 12 11:03:31 2016 +0200
summary:
#19006: fix wording in unittest docs.
files:
Doc/library/unittest.rst | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -762,8 +762,9 @@
.. _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 @@
- 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:
+---------------------------------------------------------+--------------------------------------+------------+
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list