mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	fix newline issue in test summary
This commit is contained in:
		
							parent
							
								
									2bf74fd0ac
								
							
						
					
					
						commit
						a473f00cac
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -943,7 +943,7 @@ def run(self, test): | |||
|             if errored: | ||||
|                 infos.append("errors=%d" % errored) | ||||
|         else: | ||||
|             self.stream.writeln("OK") | ||||
|             self.stream.write("OK") | ||||
|         if skipped: | ||||
|             infos.append("skipped=%d" % skipped) | ||||
|         if expectedFails: | ||||
|  | @ -952,6 +952,8 @@ def run(self, test): | |||
|             infos.append("unexpected successes=%d" % unexpectedSuccesses) | ||||
|         if infos: | ||||
|             self.stream.writeln(" (%s)" % (", ".join(infos),)) | ||||
|         else: | ||||
|             self.stream.write("\n") | ||||
|         return result | ||||
| 
 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Benjamin Peterson
						Benjamin Peterson