mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 07:01:21 +00:00 
			
		
		
		
	Split test_multiprocessing_fork, test_multiprocessing_forkserver and test_multiprocessing_spawn into test packages. Each package is made of 4 sub-tests: processes, threads, manager and misc. It allows running more tests in parallel and so reduce the total test duration.
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			210 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			210 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import unittest
 | 
						|
from test._test_multiprocessing import install_tests_in_module_dict
 | 
						|
 | 
						|
install_tests_in_module_dict(globals(), 'forkserver', only_type="processes")
 | 
						|
 | 
						|
if __name__ == '__main__':
 | 
						|
    unittest.main()
 |