diff options
author | Ran Benita <ran@unusedvar.com> | 2020-09-06 11:52:30 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-09-06 19:06:43 +0300 |
commit | e503c9a9f80ed2bd41e8ab643261bdb83607dc08 (patch) | |
tree | 0b617de64aa2019f8bf0961cae3046c5bc837b91 /doc/en/deprecations.rst | |
parent | 4df39e3a1d8066ab9262a7a1bc234bd3dbce1f66 (diff) | |
download | pytest-e503c9a9f80ed2bd41e8ab643261bdb83607dc08.tar.gz |
doc: fix broken cross references
Diffstat (limited to 'doc/en/deprecations.rst')
-rw-r--r-- | doc/en/deprecations.rst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst index 9f15553c7..14d1eeb98 100644 --- a/doc/en/deprecations.rst +++ b/doc/en/deprecations.rst @@ -16,8 +16,7 @@ Deprecated Features ------------------- Below is a complete list of all pytest features which are considered deprecated. Using those features will issue -:class:`_pytest.warning_types.PytestWarning` or subclasses, which can be filtered using -:ref:`standard warning filters <warnings>`. +:class:`PytestWarning` or subclasses, which can be filtered using :ref:`standard warning filters <warnings>`. The ``pytest_warning_captured`` hook @@ -376,7 +375,7 @@ Metafunc.addcall .. versionremoved:: 4.0 -:meth:`_pytest.python.Metafunc.addcall` was a precursor to the current parametrized mechanism. Users should use +``_pytest.python.Metafunc.addcall`` was a precursor to the current parametrized mechanism. Users should use :meth:`_pytest.python.Metafunc.parametrize` instead. Example: @@ -611,7 +610,7 @@ This has been documented as deprecated for years, but only now we are actually e .. versionremoved:: 4.0 -As part of a large :ref:`marker-revamp`, :meth:`_pytest.nodes.Node.get_marker` is deprecated. See +As part of a large :ref:`marker-revamp`, ``_pytest.nodes.Node.get_marker`` is removed. See :ref:`the documentation <update marker code>` on tips on how to update your code. |