Change XPASS colour to be yellow rather then red
Unfortunately I'm not sure how to test this.
This commit is contained in:
		
							parent
							
								
									080a9d2f12
								
							
						
					
					
						commit
						9711e335d9
					
				|  | @ -186,7 +186,7 @@ def pytest_report_teststatus(report): | ||||||
|         if report.skipped: |         if report.skipped: | ||||||
|             return "xfailed", "x", "xfail" |             return "xfailed", "x", "xfail" | ||||||
|         elif report.failed: |         elif report.failed: | ||||||
|             return "xpassed", "X", "XPASS" |             return "xpassed", "X", ("XPASS", {'yellow': True}) | ||||||
| 
 | 
 | ||||||
| # called by the terminalreporter instance/plugin | # called by the terminalreporter instance/plugin | ||||||
| def pytest_terminal_summary(terminalreporter): | def pytest_terminal_summary(terminalreporter): | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue