Merge pull request #6902 from RoyalTS/filterwarnings-docfix

Minor docfix
This commit is contained in:
Ran Benita
2020-03-12 12:39:33 +02:00
committed by GitHub

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():
...