From 27ae270159dc027ba6622ca43be3681204e84e2b Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Sat, 20 Jan 2018 12:08:51 -0200 Subject: [PATCH] Mention in docs that log messages of level WARNING or above are captured --- doc/en/logging.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/en/logging.rst b/doc/en/logging.rst index 9fdc6ffe5..98b80453a 100644 --- a/doc/en/logging.rst +++ b/doc/en/logging.rst @@ -6,8 +6,8 @@ Logging .. versionadded:: 3.3 .. versionchanged:: 3.4 -Log messages are captured by default and for each failed test will be shown in -the same manner as captured stdout and stderr. +Pytest captures log messages of level ``WARNING`` or above automatically and displays them in their own section +for each failed test in the same manner as captured stdout and stderr. Running without options::