Add link to example
Co-authored-by: Dani Sancas <lord.sancas@gmail.com>
This commit is contained in:
parent
66ad6b084a
commit
79e658c4a2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue