Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog/3713.doc.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Update usefixtures documentation to clarify that it can't be used with fixture functions.
2 changes: 1 addition & 1 deletion doc/en/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Mark a test function as using the given fixture names.

.. warning::

This mark can be used with *test functions* only, having no affect when applied
This mark has no effect when applied
to a **fixture** function.

.. py:function:: pytest.mark.usefixtures(*names)
Expand Down