From 01a094cc4316a2840254a66f829367f3d67fd442 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 24 Jun 2019 06:05:24 +0200 Subject: minor: clarify help with reportchars `-ra` / `-rA` will include "w" also. This does not explicitly mention it (allowing for change the behavior), but makes it a) clearer that "w" is a recognized reportchar, and b) less confusing that `-ra --disable-warnings` still displays them. --- src/_pytest/terminal.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/_pytest/terminal.py b/src/_pytest/terminal.py index 91e373852..bcd6e1f7c 100644 --- a/src/_pytest/terminal.py +++ b/src/_pytest/terminal.py @@ -76,8 +76,7 @@ def pytest_addoption(parser): help="show extra test summary info as specified by chars: (f)ailed, " "(E)rror, (s)kipped, (x)failed, (X)passed, " "(p)assed, (P)assed with output, (a)ll except passed (p/P), or (A)ll. " - "Warnings are displayed at all times except when " - "--disable-warnings is set.", + "(w)arnings are enabled by default (see --disable-warnings).", ) group._addoption( "--disable-warnings", -- cgit v1.2.3