From c0e6543b5a3233c1fcdf21eed346c33d15656ab8 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Wed, 30 Jan 2019 09:36:54 -0200 Subject: [PATCH] Fix pytest_report_teststatus call to pass new config object (#4691) --- src/_pytest/skipping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_pytest/skipping.py b/src/_pytest/skipping.py index 49676aa80..a28e95eda 100644 --- a/src/_pytest/skipping.py +++ b/src/_pytest/skipping.py @@ -285,7 +285,7 @@ def shower(stat): def _get_report_str(terminalreporter, report): _category, _short, verbose = terminalreporter.config.hook.pytest_report_teststatus( - report=report + report=report, config=terminalreporter.config ) return verbose