[Pytest-commit] commit/pytest: flub: Change XPASS colour to be yellow rather then red

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Sat Apr 12 17:28:27 CEST 2014


1 new commit in pytest:

https://bitbucket.org/hpk42/pytest/commits/69395c44408c/
Changeset:   69395c44408c
User:        flub
Date:        2014-04-12 16:27:12
Summary:     Change XPASS colour to be yellow rather then red

Unfortunately I'm not sure how to test this.
Affected #:  1 file

diff -r 912a8874de477546929a62539680be3e2322e042 -r 69395c44408cf30b21e7ed295a977130f46859b4 _pytest/skipping.py
--- a/_pytest/skipping.py
+++ b/_pytest/skipping.py
@@ -186,7 +186,7 @@
         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):

Repository URL: https://bitbucket.org/hpk42/pytest/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the pytest-commit mailing list