mirror of
				https://github.com/python/cpython.git
				synced 2025-11-03 23:21:29 +00:00 
			
		
		
		
	
		
			
	
	
		
			14 lines
		
	
	
	
		
			290 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			14 lines
		
	
	
	
		
			290 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| 
								 | 
							
								import importlib.test
							 | 
						||
| 
								 | 
							
								import os.path
							 | 
						||
| 
								 | 
							
								import unittest
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								def test_suite():
							 | 
						||
| 
								 | 
							
								    directory = os.path.dirname(__file__)
							 | 
						||
| 
								 | 
							
								    return importlib.test.test_suite('importlib.test.source', directory)
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								if __name__ == '__main__':
							 | 
						||
| 
								 | 
							
								    from test.support import run_unittest
							 | 
						||
| 
								 | 
							
								    run_unittest(test_suite())
							 |