This commit is contained in:
Tobias Schmidt
2020-03-12 09:38:00 +01:00
committed by GitHub
parent e1b3a68462
commit 90ee8a7599

View File

@@ -126,7 +126,7 @@ Add warning filters to marked test items.
.. code-block:: python
@pytest.mark.warnings("ignore:.*usage will be deprecated.*:DeprecationWarning")
@pytest.mark.filterwarnings("ignore:.*usage will be deprecated.*:DeprecationWarning")
def test_foo():
...