summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorJules Lasne (jlasne) <jlasne@student.42.fr>2019-03-28 21:06:27 (GMT)
committerMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-03-28 21:06:27 (GMT)
commit3d78c4a6e5ae91eaf337b6f5cc6e8bb01af7c7b1 (patch)
treedeb0cd3695233a98cfafb19fa8c829286708b340 /Doc/library/unittest.rst
parente63fc11b1d64d9586003ce4aebf4eb2fdcaf8125 (diff)
downloadcpython-3d78c4a6e5ae91eaf337b6f5cc6e8bb01af7c7b1.zip
cpython-3d78c4a6e5ae91eaf337b6f5cc6e8bb01af7c7b1.tar.gz
cpython-3d78c4a6e5ae91eaf337b6f5cc6e8bb01af7c7b1.tar.bz2
Fixed capital letters missing and missing . (GH-12584)
No `bpo` for minor doc fix
Diffstat (limited to 'Doc/library/unittest.rst')
-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: