Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions Doc/library/unittest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down Expand Up @@ -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. | |
+---------------------------------------+--------------------------------+--------------+


Expand Down Expand Up @@ -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`.
Expand Down Expand Up @@ -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:

Expand Down