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
commit 7996724f23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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