pytester: listoutcomes: assert instead of implicit if
This commit is contained in:
		
							parent
							
								
									1da8ce65a6
								
							
						
					
					
						commit
						f3dbe5a308
					
				|  | @ -312,7 +312,8 @@ class HookRecorder(object): | |||
|                     passed.append(rep) | ||||
|             elif rep.skipped: | ||||
|                 skipped.append(rep) | ||||
|             elif rep.failed: | ||||
|             else: | ||||
|                 assert rep.failed, "Unexpected outcome: {!r}".format(rep) | ||||
|                 failed.append(rep) | ||||
|         return passed, skipped, failed | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue