mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	revert the test_main() change from 08daf3ef6509 so that regrtest continues to run this properly.
This commit is contained in:
		
							parent
							
								
									e14e9c2218
								
							
						
					
					
						commit
						961e0e85c0
					
				
					 1 changed files with 14 additions and 1 deletions
				
			
		|  | @ -1477,6 +1477,19 @@ def test_invalid_args(self): | |||
|                 raise c.exception | ||||
| 
 | ||||
| 
 | ||||
| def test_main(): | ||||
|     unit_tests = (ProcessTestCase, | ||||
|                   POSIXProcessTestCase, | ||||
|                   Win32ProcessTestCase, | ||||
|                   ProcessTestCasePOSIXPurePython, | ||||
|                   CommandTests, | ||||
|                   ProcessTestCaseNoPoll, | ||||
|                   HelperFunctionTests, | ||||
|                   CommandsWithSpaces, | ||||
|                   ContextManagerTests) | ||||
| 
 | ||||
|     support.run_unittest(*unit_tests) | ||||
|     support.reap_children() | ||||
| 
 | ||||
| if __name__ == "__main__": | ||||
|     unittest.main() | ||||
|     support.reap_children() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Gregory P. Smith
						Gregory P. Smith