Update usefixtures documentation

Clarifying that it can't be used with fixture functions
This commit is contained in:
Jose Carlos Menezes 2018-10-12 09:43:00 -03:00
parent 0f5263cdc3
commit dbaa9464ba
2 changed files with 2 additions and 1 deletions

1
changelog/3713.doc.rst Normal file
View File

@ -0,0 +1 @@
Update usefixtures documentation to clarify that it can't be used with fixture functions.

View File

@ -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)