mirror of
				https://github.com/python/cpython.git
				synced 2025-11-04 11:49:12 +00:00 
			
		
		
		
	regrtest: replace "Result:" with "Tests result:"
This commit is contained in:
		
							parent
							
								
									59e9ca6bda
								
							
						
					
					
						commit
						f2abf5c11a
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -437,7 +437,7 @@ class Regrtest:
 | 
				
			||||||
            result = "INTERRUPTED"
 | 
					            result = "INTERRUPTED"
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            result = "SUCCESS"
 | 
					            result = "SUCCESS"
 | 
				
			||||||
        print("Result: %s" % result)
 | 
					        print("Tests result: %s" % result)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if self.ns.runleaks:
 | 
					        if self.ns.runleaks:
 | 
				
			||||||
            os.system("leaks %d" % os.getpid())
 | 
					            os.system("leaks %d" % os.getpid())
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -407,7 +407,7 @@ class BaseTestCase(unittest.TestCase):
 | 
				
			||||||
            result = 'INTERRUPTED'
 | 
					            result = 'INTERRUPTED'
 | 
				
			||||||
        else:
 | 
					        else:
 | 
				
			||||||
            result = 'SUCCESS'
 | 
					            result = 'SUCCESS'
 | 
				
			||||||
        self.check_line(output, 'Result: %s' % result)
 | 
					        self.check_line(output, 'Tests result: %s' % result)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    def parse_random_seed(self, output):
 | 
					    def parse_random_seed(self, output):
 | 
				
			||||||
        match = self.regex_search(r'Using random seed ([0-9]+)', output)
 | 
					        match = self.regex_search(r'Using random seed ([0-9]+)', output)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue