summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/unittest.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index d1b4f3b..8ad2abd 100644
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -1000,7 +1000,7 @@ Test cases
int('XYZ')
.. versionadded:: 3.1
- under the name ``assertRaisesRegexp``.
+ Added under the name ``assertRaisesRegexp``.
.. versionchanged:: 3.2
Renamed to :meth:`assertRaisesRegex`.
@@ -1145,7 +1145,7 @@ Test cases
+---------------------------------------+--------------------------------+--------------+
| :meth:`assertCountEqual(a, b) | *a* and *b* have the same | 3.2 |
| <TestCase.assertCountEqual>` | elements in the same number, | |
- | | regardless of their order | |
+ | | regardless of their order. | |
+---------------------------------------+--------------------------------+--------------+
@@ -1193,7 +1193,7 @@ Test cases
expression suitable for use by :func:`re.search`.
.. versionadded:: 3.1
- under the name ``assertRegexpMatches``.
+ Added under the name ``assertRegexpMatches``.
.. versionchanged:: 3.2
The method ``assertRegexpMatches()`` has been renamed to
:meth:`.assertRegex`.
@@ -1516,14 +1516,14 @@ along with their deprecated aliases:
============================== ====================== =======================
.. deprecated:: 3.1
- the fail* aliases listed in the second column.
+ The fail* aliases listed in the second column have been deprecated.
.. deprecated:: 3.2
- the assert* aliases listed in the third column.
+ The assert* aliases listed in the third column have been deprecated.
.. deprecated:: 3.2
``assertRegexpMatches`` and ``assertRaisesRegexp`` have been renamed to
:meth:`.assertRegex` and :meth:`.assertRaisesRegex`.
.. deprecated:: 3.5
- the ``assertNotRegexpMatches`` name in favor of :meth:`.assertNotRegex`.
+ The ``assertNotRegexpMatches`` name is deprecated in favor of :meth:`.assertNotRegex`.
.. _testsuite-objects: