Add tmp_path_factory methods to the docs (#8550)

* 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
This commit is contained in:
Albert Villanova del Moral 2021-04-14 11:06:35 +02:00 committed by GitHub
parent 9653a0e9f4
commit 4b214a6049
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -594,6 +594,7 @@ tmp_path_factory
``tmp_path_factory`` is an instance of :class:`~pytest.TempPathFactory`:
.. autoclass:: pytest.TempPathFactory()
:members:
.. fixture:: tmpdir
@ -617,6 +618,7 @@ tmpdir_factory
``tmp_path_factory`` is an instance of :class:`~pytest.TempdirFactory`:
.. autoclass:: pytest.TempdirFactory()
:members:
.. _`hook-reference`: