reportopts: A: put "Pp" in front
This commit is contained in:
		
							parent
							
								
									0f7c7a99bf
								
							
						
					
					
						commit
						f9f41e69a8
					
				|  | @ -170,7 +170,7 @@ def getreportopt(config): | ||||||
|         if char == "a": |         if char == "a": | ||||||
|             reportopts = "sxXwEf" |             reportopts = "sxXwEf" | ||||||
|         elif char == "A": |         elif char == "A": | ||||||
|             reportopts = "sxXwEfpP" |             reportopts = "PpsxXwEf" | ||||||
|             break |             break | ||||||
|         elif char not in reportopts: |         elif char not in reportopts: | ||||||
|             reportopts += char |             reportopts += char | ||||||
|  |  | ||||||
|  | @ -893,7 +893,7 @@ def test_getreportopt(): | ||||||
|     assert getreportopt(config) == "sxXwEf"  # NOTE: "w" included! |     assert getreportopt(config) == "sxXwEf"  # NOTE: "w" included! | ||||||
| 
 | 
 | ||||||
|     config.option.reportchars = "A" |     config.option.reportchars = "A" | ||||||
|     assert getreportopt(config) == "sxXwEfpP" |     assert getreportopt(config) == "PpsxXwEf" | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| def test_terminalreporter_reportopt_addopts(testdir): | def test_terminalreporter_reportopt_addopts(testdir): | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue