Skip to content

Commit

Permalink
Merge pull request #4121 from labcodes/3713
Browse files Browse the repository at this point in the history
Update usefixtures documentation
  • Loading branch information
crazymerlyn authored Oct 12, 2018
2 parents 0f5263c + dbaa946 commit d46b6b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
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

0 comments on commit d46b6b2

Please sign in to comment.