From 90ee8a75995fb69bcfaae258afdb6694b3aa620d Mon Sep 17 00:00:00 2001 From: Tobias Schmidt Date: Thu, 12 Mar 2020 09:38:00 +0100 Subject: [PATCH] docfix --- doc/en/reference.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/en/reference.rst b/doc/en/reference.rst index 16bf3cf79..731037b0d 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -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(): ...