Skip to content

Commit

Permalink
Add tmp_path_factory methods to the docs (pytest-dev#8550)
Browse files Browse the repository at this point in the history
* Add tmp_path_factory methods to the docs

Add the methods of tmp_path_factory to the docs.

Currently, only the class description appears in the docs.

* Add tmpdir_factory methods to the docs
  • Loading branch information
albertvillanova committed Apr 14, 2021
1 parent 9653a0e commit 4b214a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/en/reference/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ tmp_path_factory
``tmp_path_factory`` is an instance of :class:`~pytest.TempPathFactory`:

.. autoclass:: pytest.TempPathFactory()
:members:


.. fixture:: tmpdir
Expand All @@ -617,6 +618,7 @@ tmpdir_factory
``tmp_path_factory`` is an instance of :class:`~pytest.TempdirFactory`:

.. autoclass:: pytest.TempdirFactory()
:members:


.. _`hook-reference`:
Expand Down

0 comments on commit 4b214a6

Please sign in to comment.