From 9711e335d976b3030b667636a6666019c430b52c Mon Sep 17 00:00:00 2001 From: Floris Bruynooghe Date: Sat, 12 Apr 2014 10:27:12 -0400 Subject: [PATCH] Change XPASS colour to be yellow rather then red Unfortunately I'm not sure how to test this. --- _pytest/skipping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/skipping.py b/_pytest/skipping.py index a370b64e4..6ddbb6553 100644 --- a/_pytest/skipping.py +++ b/_pytest/skipping.py @@ -186,7 +186,7 @@ def pytest_report_teststatus(report): if report.skipped: return "xfailed", "x", "xfail" elif report.failed: - return "xpassed", "X", "XPASS" + return "xpassed", "X", ("XPASS", {'yellow': True}) # called by the terminalreporter instance/plugin def pytest_terminal_summary(terminalreporter):