mirror of
				https://github.com/python/cpython.git
				synced 2025-10-26 03:04:41 +00:00 
			
		
		
		
	 45a5e3afe5
			
		
	
	
		45a5e3afe5
		
	
	
	
	
		
			
			This should make the Linux distros happy as it is now easier to leave importlib's tests out of their base Python distribution.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			284 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			284 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from .. import test_suite
 | |
| import os.path
 | |
| import unittest
 | |
| 
 | |
| 
 | |
| def test_suite():
 | |
|     directory = os.path.dirname(__file__)
 | |
|     return test.test_suite('importlib.test.source', directory)
 | |
| 
 | |
| 
 | |
| if __name__ == '__main__':
 | |
|     from test.support import run_unittest
 | |
|     run_unittest(test_suite())
 |