diff --git a/doc/en/example/simple.rst b/doc/en/example/simple.rst index 8c3975c60..7ec27d547 100644 --- a/doc/en/example/simple.rst +++ b/doc/en/example/simple.rst @@ -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 --------------- diff --git a/doc/en/reference.rst b/doc/en/reference.rst index b956b0a34..0c0fdff01 100644 --- a/doc/en/reference.rst +++ b/doc/en/reference.rst @@ -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`: