File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -129,7 +129,7 @@ def getbasetemp(self) -> Path:
129
129
@final
130
130
@attr .s (init = False )
131
131
class TempdirFactory :
132
- """Backward comptibility wrapper that implements :class:``legacy_path ``
132
+ """Backward comptibility wrapper that implements :class:``_pytest.compat.LEGACY_PATH ``
133
133
for :class:``TempPathFactory``."""
134
134
135
135
_tmppath_factory = attr .ib (type = TempPathFactory )
@@ -141,7 +141,7 @@ def __init__(
141
141
self ._tmppath_factory = tmppath_factory
142
142
143
143
def mktemp (self , basename : str , numbered : bool = True ) -> LEGACY_PATH :
144
- """Same as :meth:`TempPathFactory.mktemp`, but returns a ``legacy_path `` object."""
144
+ """Same as :meth:`TempPathFactory.mktemp`, but returns a ``_pytest.compat.LEGACY_PATH `` object."""
145
145
return legacy_path (self ._tmppath_factory .mktemp (basename , numbered ).resolve ())
146
146
147
147
def getbasetemp (self ) -> LEGACY_PATH :
@@ -208,7 +208,7 @@ def tmpdir(tmp_path: Path) -> LEGACY_PATH:
208
208
``--basetemp`` is used then it is cleared each session. See :ref:`base
209
209
temporary directory`.
210
210
211
- The returned object is a `legacy path `_ object.
211
+ The returned object is a `_pytest.compat.LEGACY_PATH `_ object.
212
212
213
213
.. _`legacy_path`: https://py.readthedocs.io/en/latest/path.html
214
214
"""
You can’t perform that action at this time.
0 commit comments