Skip to content

Commit

Permalink
Merge pull request pytest-dev#9017 from hugovk/update-deprecated-unit…
Browse files Browse the repository at this point in the history
…test-aliases
  • Loading branch information
nicoddemus committed Aug 18, 2021
2 parents 720b91d + 5ec89fd commit 16077f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/en/how-to/assert.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 16077f2

Please sign in to comment.