We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f5263c commit dbaa946Copy full SHA for dbaa946
changelog/3713.doc.rst
@@ -0,0 +1 @@
1
+Update usefixtures documentation to clarify that it can't be used with fixture functions.
doc/en/reference.rst
@@ -178,7 +178,7 @@ Mark a test function as using the given fixture names.
178
179
.. warning::
180
181
- This mark can be used with *test functions* only, having no affect when applied
+ This mark has no effect when applied
182
to a **fixture** function.
183
184
.. py:function:: pytest.mark.usefixtures(*names)
0 commit comments