docs: change references to 6.3 -> 7.0

The plans have changed, next version will be 7.0 not 6.3.
This commit is contained in:
Ran Benita 2021-10-23 22:34:17 +03:00
parent 755ce9bc80
commit 60ca83746b
4 changed files with 5 additions and 5 deletions

View File

@ -63,7 +63,7 @@ Implement the :func:`pytest_load_initial_conftests <_pytest.hookspec.pytest_load
Diamond inheritance between :class:`pytest.File` and :class:`pytest.Item`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. deprecated:: 6.3
.. deprecated:: 7.0
Inheriting from both Item and file at once has never been supported officially,
however some plugins providing linting/code analysis have been using this as a hack.
@ -90,7 +90,7 @@ scheduled for removal in pytest 7 (deprecated since pytest 2.4.0):
Raising ``unittest.SkipTest`` during collection
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. deprecated:: 6.3
.. deprecated:: 7.0
Raising :class:`unittest.SkipTest` to skip collection of tests during the
pytest collection phase is deprecated. Use :func:`pytest.skip` instead.

View File

@ -128,7 +128,7 @@ class Cache:
it to manage files to e.g. store/retrieve database dumps across test
sessions.
.. versionadded:: 6.3
.. versionadded:: 7.0
:param name:
Must be a string not containing a ``/`` separator.

View File

@ -185,7 +185,7 @@ class Parser:
* ``paths``: a list of :class:`pathlib.Path`, separated as in a shell
* ``pathlist``: a list of ``py.path``, separated as in a shell
.. versionadded:: 6.3
.. versionadded:: 7.0
The ``paths`` variable type.
Defaults to ``string`` if ``None`` or not passed.

View File

@ -500,7 +500,7 @@ class Session(nodes.FSCollector):
def startpath(self) -> Path:
"""The path from which pytest was invoked.
.. versionadded:: 6.3.0
.. versionadded:: 7.0.0
"""
return self.config.invocation_params.dir