update docs to reflect `nose` support deprecation
This commit is contained in:
parent
b5c7a6d26a
commit
ed7cb8e623
|
@ -1 +1 @@
|
||||||
The functionality for running tests written for `nose` has been officially deprecated.
|
The functionality for running tests written for ``nose`` has been officially deprecated.
|
||||||
|
|
|
@ -15,11 +15,9 @@ should be used instead.
|
||||||
Deprecated Features
|
Deprecated Features
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
|
||||||
Below is a complete list of all pytest features which are considered deprecated. Using those features will issue
|
Below is a complete list of all pytest features which are considered deprecated. Using those features will issue
|
||||||
:class:`~pytest.PytestWarning` or subclasses, which can be filtered using :ref:`standard warning filters <warnings>`.
|
:class:`~pytest.PytestWarning` or subclasses, which can be filtered using :ref:`standard warning filters <warnings>`.
|
||||||
|
|
||||||
|
|
||||||
Support for tests written for nose
|
Support for tests written for nose
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -27,8 +25,6 @@ Support for tests written for nose
|
||||||
|
|
||||||
Support for running tests written for nose is now deprecated.
|
Support for running tests written for nose is now deprecated.
|
||||||
|
|
||||||
.. _node-ctor-fspath-deprecation:
|
|
||||||
|
|
||||||
|
|
||||||
.. _instance-collector-deprecation:
|
.. _instance-collector-deprecation:
|
||||||
|
|
||||||
|
@ -49,7 +45,7 @@ However, to keep such uses working, a dummy type has been instanted in ``pytest.
|
||||||
and importing it emits a deprecation warning. This will be removed in pytest 8.
|
and importing it emits a deprecation warning. This will be removed in pytest 8.
|
||||||
|
|
||||||
|
|
||||||
.. _support_for_tests_written_for_nose:
|
.. _node-ctor-fspath-deprecation:
|
||||||
|
|
||||||
``fspath`` argument for Node constructors replaced with ``pathlib.Path``
|
``fspath`` argument for Node constructors replaced with ``pathlib.Path``
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
|
@ -498,7 +498,7 @@ def test_nose_setup_skipped_if_non_callable(pytester: Pytester) -> None:
|
||||||
assert result.ret == 0
|
assert result.ret == 0
|
||||||
|
|
||||||
|
|
||||||
def test_nose_setup_is_deprecated(pytester: Pytester) -> None:
|
def test_nose_setup_and_teardown_is_deprecated(pytester: Pytester) -> None:
|
||||||
pytester.makepyfile(
|
pytester.makepyfile(
|
||||||
"""
|
"""
|
||||||
from nose.tools import with_setup
|
from nose.tools import with_setup
|
||||||
|
|
Loading…
Reference in New Issue