mirror of
				https://github.com/python/cpython.git
				synced 2025-10-26 11:14:33 +00:00 
			
		
		
		
	 f012ba42fe
			
		
	
	
		f012ba42fe
		
	
	
	
	
		
			
			Adds `load_package_tests` function to test.support, uses it in test_asyncio, test_email, test_json, test_tools, test_importlib and all test_importlib sub-packages to implement test discovery.
		
			
				
	
	
		
			5 lines
		
	
	
	
		
			142 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			5 lines
		
	
	
	
		
			142 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import os
 | |
| from test.support import load_package_tests
 | |
| 
 | |
| def load_tests(*args):
 | |
|     return load_package_tests(os.path.dirname(__file__), *args)
 |