Merge pull request #4067 from beneyal/master
Add pytest.freeze_includes() to reference
This commit is contained in:
commit
20f93ae8fa
|
@ -852,6 +852,8 @@ In that order.
|
||||||
can be changed between releases (even bug fixes) so it shouldn't be relied on for scripting
|
can be changed between releases (even bug fixes) so it shouldn't be relied on for scripting
|
||||||
or automation.
|
or automation.
|
||||||
|
|
||||||
|
.. _freezing-pytest:
|
||||||
|
|
||||||
Freezing pytest
|
Freezing pytest
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
|
|
|
@ -84,6 +84,12 @@ pytest.warns
|
||||||
.. autofunction:: pytest.warns(expected_warning: Exception, [match])
|
.. autofunction:: pytest.warns(expected_warning: Exception, [match])
|
||||||
:with:
|
:with:
|
||||||
|
|
||||||
|
pytest.freeze_includes
|
||||||
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
**Tutorial**: :ref:`freezing-pytest`.
|
||||||
|
|
||||||
|
.. autofunction:: pytest.freeze_includes
|
||||||
|
|
||||||
.. _`marks ref`:
|
.. _`marks ref`:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue