mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	 aa9a359ca2
			
		
	
	
		aa9a359ca2
		
			
		
	
	
	
	
		
			
			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.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			338 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			338 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import os.path
 | |
| import sys
 | |
| import unittest
 | |
| from test import support
 | |
| 
 | |
| if support.PGO:
 | |
|     raise unittest.SkipTest("test is not helpful for PGO")
 | |
| 
 | |
| if sys.platform == "win32":
 | |
|     raise unittest.SkipTest("forkserver is not available on Windows")
 | |
| 
 | |
| def load_tests(*args):
 | |
|     return support.load_package_tests(os.path.dirname(__file__), *args)
 |