Skip to content

Commit

Permalink
docfix
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalTS committed Mar 12, 2020
1 parent e1b3a68 commit 90ee8a7
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 90ee8a7

Please sign in to comment.