Merge pull request #9208 from bluetech/legacypath-plugin

Add legacypath plugin, move py.path stuff there
This commit is contained in:
Ran Benita
2021-11-02 20:35:12 +02:00
committed by GitHub
18 changed files with 647 additions and 448 deletions
+4
View File
@@ -460,3 +460,7 @@ def setup(app: "sphinx.application.Sphinx") -> None:
)
sphinx.pycode.parser.VariableCommentPicker.is_final = patched_is_final
# legacypath.py monkey-patches pytest.Testdir in. Import the file so
# that autodoc can discover references to it.
import _pytest.legacypath # noqa: F401
+1 -1
View File
@@ -638,7 +638,7 @@ tmpdir
:ref:`tmpdir and tmpdir_factory`
.. autofunction:: _pytest.tmpdir.tmpdir()
.. autofunction:: _pytest.legacypath.LegacyTmpdirPlugin.tmpdir()
:no-auto-options: