Update doc/en/deprecations.rst

This commit is contained in:
Thomas Grainger 2022-10-10 13:58:05 +01:00 committed by GitHub
parent 2fd160110c
commit 246ceb84bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -388,6 +388,7 @@ Applying a mark to a fixture function
Applying a mark to a fixture function never had any effect, but it is a common user error.
.. code-block:: python
@pytest.mark.usefixtures("clean_database")
@pytest.fixture
def user() -> User: