You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/en/backwards-compatibility.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ Keeping backwards compatibility has a very high priority in the pytest project.
60
60
61
61
With the pytest 3.0 release, we introduced a clear communication scheme for when we will actually remove the old busted joint and politely ask you to use the new hotness instead, while giving you enough time to adjust your tests or raise concerns if there are valid reasons to keep deprecated functionality around.
62
62
63
-
To communicate changes, we issue deprecation warnings using a custom warning hierarchy (see :ref:`internal-warnings`). These warnings may be suppressed using the standard means: ``-W`` command-line flag or ``filterwarnings`` ini options (see :ref:`warnings`), but we suggest to use these sparingly and temporarily, and heed the warnings when possible.
63
+
To communicate changes, we issue deprecation warnings using a custom warning hierarchy (see :ref:`internal-warnings`). These warnings may be suppressed using the standard means: :option:`-W` command-line flag or :confval:`filterwarnings` configuration option (see :ref:`warnings`), but we suggest to use these sparingly and temporarily, and heed the warnings when possible.
64
64
65
65
We will only start the removal of deprecated functionality in major releases (e.g. if we deprecate something in 3.0, we will start to remove it in 4.0), and keep it around for at least two minor releases (e.g. if we deprecate something in 3.9 and 4.0 is the next release, we start to remove it in 5.0, not in 4.0).
Copy file name to clipboardExpand all lines: doc/en/builtin.rst
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ For information on plugin hooks and objects, see :ref:`plugins`.
12
12
13
13
For information on the ``pytest.mark`` mechanism, see :ref:`mark`.
14
14
15
-
For information about fixtures, see :ref:`fixtures`. To see a complete list of available fixtures (add ``-v`` to also see fixtures with leading ``_``), type :
15
+
For information about fixtures, see :ref:`fixtures`. To see a complete list of available fixtures (add :option:`-v` to also see fixtures with leading ``_``), type :
16
16
17
17
.. code-block:: pytest
18
18
@@ -53,15 +53,15 @@ For information about fixtures, see :ref:`fixtures`. To see a complete list of a
53
53
54
54
capteesys -- .../_pytest/capture.py:1028
55
55
Enable simultaneous text capturing and pass-through of writes
56
-
to ``sys.stdout`` and ``sys.stderr`` as defined by ``--capture=``.
56
+
to ``sys.stdout`` and ``sys.stderr`` as defined by :option:`--capture`.
57
57
58
58
59
59
The captured output is made available via ``capteesys.readouterr()`` method
60
60
calls, which return a ``(out, err)`` namedtuple.
61
61
``out`` and ``err`` will be ``text`` objects.
62
62
63
63
The output is also passed-through, allowing it to be "live-printed",
64
-
reported, or both as defined by ``--capture=``.
64
+
reported, or both as defined by :option:`--capture`.
65
65
66
66
Returns an instance of :class:`CaptureFixture[str] <pytest.CaptureFixture>`.
0 commit comments