Merge pull request #4067 from beneyal/master

Add pytest.freeze_includes() to reference
This commit is contained in:
Bruno Oliveira 2018-10-02 20:02:37 -03:00 committed by GitHub
commit 20f93ae8fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -852,6 +852,8 @@ In that order.
can be changed between releases (even bug fixes) so it shouldn't be relied on for scripting
or automation.
.. _freezing-pytest:
Freezing pytest
---------------

View File

@ -84,6 +84,12 @@ pytest.warns
.. autofunction:: pytest.warns(expected_warning: Exception, [match])
:with:
pytest.freeze_includes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
**Tutorial**: :ref:`freezing-pytest`.
.. autofunction:: pytest.freeze_includes
.. _`marks ref`: