Skip to content

Commit

Permalink
Merge pull request #6902 from RoyalTS/filterwarnings-docfix
Browse files Browse the repository at this point in the history
Minor docfix
  • Loading branch information
bluetech committed Mar 12, 2020
2 parents e1b3a68 + 90ee8a7 commit 7996724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/en/reference.rst
Expand Up @@ -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():
...
Expand Down

0 comments on commit 7996724

Please sign in to comment.