Skip to content

Commit 16077f2

Browse files
authored
Merge pull request #9017 from hugovk/update-deprecated-unittest-aliases
2 parents 720b91d + 5ec89fd commit 16077f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/how-to/assert.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ the actual exception raised. The main attributes of interest are
102102

103103
You can pass a ``match`` keyword parameter to the context-manager to test
104104
that a regular expression matches on the string representation of an exception
105-
(similar to the ``TestCase.assertRaisesRegexp`` method from ``unittest``):
105+
(similar to the ``TestCase.assertRaisesRegex`` method from ``unittest``):
106106

107107
.. code-block:: python
108108

0 commit comments

Comments
 (0)