Merge pull request #9017 from hugovk/update-deprecated-unittest-aliases

This commit is contained in:
Bruno Oliveira 2021-08-18 08:11:50 -03:00 committed by GitHub
commit 16077f2a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ the actual exception raised. The main attributes of interest are
You can pass a ``match`` keyword parameter to the context-manager to test
that a regular expression matches on the string representation of an exception
(similar to the ``TestCase.assertRaisesRegexp`` method from ``unittest``):
(similar to the ``TestCase.assertRaisesRegex`` method from ``unittest``):
.. code-block:: python