docfix
This commit is contained in:
parent
e1b3a68462
commit
90ee8a7599
|
@ -126,7 +126,7 @@ Add warning filters to marked test items.
|
||||||
|
|
||||||
.. code-block:: python
|
.. code-block:: python
|
||||||
|
|
||||||
@pytest.mark.warnings("ignore:.*usage will be deprecated.*:DeprecationWarning")
|
@pytest.mark.filterwarnings("ignore:.*usage will be deprecated.*:DeprecationWarning")
|
||||||
def test_foo():
|
def test_foo():
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue