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.
1 parent 720b91d commit 5ec89fdCopy full SHA for 5ec89fd
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