summaryrefslogtreecommitdiff
path: root/doc/en/deprecations.rst
diff options
context:
space:
mode:
authorVinay Calastry <vinay.calastry@gmail.com>2019-12-10 19:47:51 -0800
committerVinay Calastry <vinay.calastry@gmail.com>2019-12-14 16:46:30 -0800
commitafbaee7649c7b2c7a6167e47aea8fb0f46444755 (patch)
treef76fb54b3d03a48da0b32aabd092dfb7147a22fe /doc/en/deprecations.rst
parent1ef29ab5480ebcdcc5597ce5a34bc4ab7ed44912 (diff)
downloadpytest-afbaee7649c7b2c7a6167e47aea8fb0f46444755.tar.gz
Deprecate --no-print-logs option
Diffstat (limited to 'doc/en/deprecations.rst')
-rw-r--r--doc/en/deprecations.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/en/deprecations.rst b/doc/en/deprecations.rst
index 88112b12a..bb91b9a11 100644
--- a/doc/en/deprecations.rst
+++ b/doc/en/deprecations.rst
@@ -20,6 +20,20 @@ Below is a complete list of all pytest features which are considered deprecated.
:ref:`standard warning filters <warnings>`.
+``--no-print-logs`` command-line option
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+.. deprecated:: 5.4
+
+
+Option ``--no-print-logs`` is deprecated and meant to be removed in a future release. If you use ``--no-print-logs``, please try out ``--show-capture`` and
+provide feedback.
+
+``--show-capture`` command-line option was added in ``pytest 3.5.0` and allows to specify how to
+display captured output when tests fail: ``no``, ``stdout``, ``stderr``, ``log`` or ``all`` (the default).
+
+
+
Node Construction changed to ``Node.from_parent``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~