diff --git a/testing/test_terminal.py b/testing/test_terminal.py index 9390ac153..e1436f7f9 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -767,7 +767,10 @@ def test_terminal_summary(testdir): "xfailed": (1,2)}), ]) def test_summary_stats(exp_line, exp_color, stats_arg): + print("Based on stats: %s" % stats_arg) + print("Expect summary: \"%s\"; with color \"%s\"" % (exp_line, exp_color)) (line, color) = build_summary_stats_line(stats_arg) + print("Actually got: \"%s\"; with color \"%s\"" % (line, color)) assert line == exp_line assert color == exp_color