Fix RST refs for temp dir location section

This commit is contained in:
faph 2024-01-17 12:52:52 +00:00
parent 1019b5f67c
commit 0d4f668b79
2 changed files with 4 additions and 4 deletions

View File

@ -326,8 +326,8 @@ class LegacyTmpdirPlugin:
By default, a new base temporary directory is created each test session, By default, a new base temporary directory is created each test session,
and old bases are removed after 3 sessions, to aid in debugging. If and old bases are removed after 3 sessions, to aid in debugging. If
``--basetemp`` is used then it is cleared each session. See :ref:`base ``--basetemp`` is used then it is cleared each session. See
temporary directory`. :ref:`temporary directory location and retention`.
The returned object is a `legacy_path`_ object. The returned object is a `legacy_path`_ object.

View File

@ -262,8 +262,8 @@ def tmp_path(
and old bases are removed after 3 sessions, to aid in debugging. and old bases are removed after 3 sessions, to aid in debugging.
This behavior can be configured with :confval:`tmp_path_retention_count` and This behavior can be configured with :confval:`tmp_path_retention_count` and
:confval:`tmp_path_retention_policy`. :confval:`tmp_path_retention_policy`.
If ``--basetemp`` is used then it is cleared each session. See :ref:`base If ``--basetemp`` is used then it is cleared each session. See
temporary directory`. :ref:`temporary directory location and retention`.
The returned object is a :class:`pathlib.Path` object. The returned object is a :class:`pathlib.Path` object.
""" """