We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 720b91d + 5ec89fd commit 16077f2Copy full SHA for 16077f2
doc/en/how-to/assert.rst
@@ -102,7 +102,7 @@ the actual exception raised. The main attributes of interest are
102
103
You can pass a ``match`` keyword parameter to the context-manager to test
104
that a regular expression matches on the string representation of an exception
105
-(similar to the ``TestCase.assertRaisesRegexp`` method from ``unittest``):
+(similar to the ``TestCase.assertRaisesRegex`` method from ``unittest``):
106
107
.. code-block:: python
108
0 commit comments