diff --git a/py/plugin/pytest_skipping.py b/py/plugin/pytest_skipping.py index 5849f8427..0d80b938c 100644 --- a/py/plugin/pytest_skipping.py +++ b/py/plugin/pytest_skipping.py @@ -162,10 +162,9 @@ def show_xfailed(terminalreporter): xfailed = tr.stats.get("xfailed") if xfailed: if not tr.hasopt('xfailed'): - if tr.config.getvalue("verbose"): - tr.write_line( - "%d expected failures, use --report=xfailed for more info" % - len(xfailed)) + tr.write_line( + "%d expected failures, use --report=xfailed for more info" % + len(xfailed)) return tr.write_sep("_", "expected failures") for rep in xfailed: @@ -220,10 +219,9 @@ def show_skipped(terminalreporter): skipped = tr.stats.get('skipped', []) if skipped: if not tr.hasopt('skipped'): - if tr.config.getvalue("verbose"): - tr.write_line( - "%d skipped tests, use --report=skipped for more info" % - len(skipped)) + tr.write_line( + "%d skipped tests, use --report=skipped for more info" % + len(skipped)) return fskips = folded_skips(skipped) if fskips: diff --git a/py/plugin/pytest_terminal.py b/py/plugin/pytest_terminal.py index 9c3f0f0ad..0715cf087 100644 --- a/py/plugin/pytest_terminal.py +++ b/py/plugin/pytest_terminal.py @@ -15,7 +15,7 @@ def pytest_addoption(parser): help="show locals in tracebacks (disabled by default).") group.addoption('--report', action="store", dest="report", default=None, metavar="opts", - help="comma separated reporting options") + help="comma separated options, valid: skipped,xfailed") group._addoption('--tb', metavar="style", action="store", dest="tbstyle", default='long', type="choice", choices=['long', 'short', 'no'],