mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	 c967bd523c
			
		
	
	
		c967bd523c
		
			
		
	
	
	
	
		
			
			Deprecation warnings about the loop argument were incorrectly emitted in cases when the loop argument was used inside the asyncio library, not from user code.
		
			
				
	
	
		
			10 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
	
		
			249 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| import os
 | |
| from test import support
 | |
| 
 | |
| # Skip tests if we don't have concurrent.futures.
 | |
| support.import_module('concurrent.futures')
 | |
| 
 | |
| 
 | |
| def load_tests(*args):
 | |
|     pkg_dir = os.path.dirname(__file__)
 | |
|     return support.load_package_tests(pkg_dir, *args)
 |