Skip to content

Commit 40ee9a3

Browse files
Fixed capital letters missing and missing . (pythonGH-12584)
No `bpo` for minor doc fix (cherry picked from commit 3d78c4a) Co-authored-by: Jules Lasne (jlasne) <jlasne@student.42.fr>
1 parent e9868c5 commit 40ee9a3

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

‎Doc/library/unittest.rst‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,7 @@ Test cases
10001000
int('XYZ')
10011001

10021002
.. versionadded:: 3.1
1003-
under the name ``assertRaisesRegexp``.
1003+
Added under the name ``assertRaisesRegexp``.
10041004

10051005
.. versionchanged:: 3.2
10061006
Renamed to :meth:`assertRaisesRegex`.
@@ -1145,7 +1145,7 @@ Test cases
11451145
+---------------------------------------+--------------------------------+--------------+
11461146
| :meth:`assertCountEqual(a, b) | *a* and *b* have the same | 3.2 |
11471147
| <TestCase.assertCountEqual>` | elements in the same number, | |
1148-
| | regardless of their order | |
1148+
| | regardless of their order. | |
11491149
+---------------------------------------+--------------------------------+--------------+
11501150

11511151

@@ -1193,7 +1193,7 @@ Test cases
11931193
expression suitable for use by :func:`re.search`.
11941194

11951195
.. versionadded:: 3.1
1196-
under the name ``assertRegexpMatches``.
1196+
Added under the name ``assertRegexpMatches``.
11971197
.. versionchanged:: 3.2
11981198
The method ``assertRegexpMatches()`` has been renamed to
11991199
:meth:`.assertRegex`.
@@ -1483,14 +1483,14 @@ along with their deprecated aliases:
14831483
============================== ====================== =======================
14841484

14851485
.. deprecated:: 3.1
1486-
the fail* aliases listed in the second column.
1486+
The fail* aliases listed in the second column have been deprecated.
14871487
.. deprecated:: 3.2
1488-
the assert* aliases listed in the third column.
1488+
The assert* aliases listed in the third column have been deprecated.
14891489
.. deprecated:: 3.2
14901490
``assertRegexpMatches`` and ``assertRaisesRegexp`` have been renamed to
14911491
:meth:`.assertRegex` and :meth:`.assertRaisesRegex`.
14921492
.. deprecated:: 3.5
1493-
the ``assertNotRegexpMatches`` name in favor of :meth:`.assertNotRegex`.
1493+
The ``assertNotRegexpMatches`` name is deprecated in favor of :meth:`.assertNotRegex`.
14941494

14951495
.. _testsuite-objects:
14961496

0 commit comments

Comments
 (0)