mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	Merged revisions 79437 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r79437 | michael.foord | 2010-03-26 03:18:31 +0000 (Fri, 26 Mar 2010) | 1 line Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly ........
This commit is contained in:
		
							parent
							
								
									8777f01d71
								
							
						
					
					
						commit
						65b69a1093
					
				
					 6 changed files with 321 additions and 16 deletions
				
			
		|  | @ -4,6 +4,7 @@ | |||
| import time | ||||
| 
 | ||||
| from . import result | ||||
| from .signals import registerResult | ||||
| 
 | ||||
| __unittest = True | ||||
| 
 | ||||
|  | @ -138,6 +139,7 @@ def _makeResult(self): | |||
|     def run(self, test): | ||||
|         "Run the given test case or test suite." | ||||
|         result = self._makeResult() | ||||
|         registerResult(result) | ||||
|         result.failfast = self.failfast | ||||
|         startTime = time.time() | ||||
|         startTestRun = getattr(result, 'startTestRun', None) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Michael Foord
						Michael Foord