Change XPASS colour to be yellow rather then red

Unfortunately I'm not sure how to test this.
This commit is contained in:
Floris Bruynooghe 2014-04-12 10:27:12 -04:00
parent 080a9d2f12
commit 9711e335d9
1 changed files with 1 additions and 1 deletions

View File

@ -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):