Update doc/en/deprecations.rst
This commit is contained in:
parent
2fd160110c
commit
246ceb84bd
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue