Add link to example

Co-authored-by: Dani Sancas <lord.sancas@gmail.com>
This commit is contained in:
Tatiana Ovary 2022-08-10 10:12:28 +02:00
parent 66ad6b084a
commit 79e658c4a2
1 changed files with 3 additions and 0 deletions

View File

@ -144,6 +144,9 @@ def warns(
When using :ref:`pytest.mark.parametrize ref` it is possible to parametrize tests
such that some runs raise a warning and others do not.
This could be achieved in the same way as with exceptions, see
:ref:`parametrizing_conditional_raising` for an example.
"""
__tracebackhide__ = True
if not args: