mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 18:28:49 +00:00 
			
		
		
		
	 1b37e8728c
			
		
	
	
		1b37e8728c
		
	
	
	
	
		
			
			svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........
		
			
				
	
	
		
			16 lines
		
	
	
	
		
			547 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
	
		
			547 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from test.support import run_unittest, import_module
 | |
| 
 | |
| # Skip test if _sqlite3 module not installed
 | |
| import_module('_sqlite3')
 | |
| 
 | |
| from sqlite3.test import (dbapi, types, userfunctions,
 | |
|                                 factory, transactions, hooks, regression,
 | |
|                                 dump)
 | |
| 
 | |
| def test_main():
 | |
|     run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
 | |
|                  factory.suite(), transactions.suite(),
 | |
|                  hooks.suite(), regression.suite(), dump.suite())
 | |
| 
 | |
| if __name__ == "__main__":
 | |
|     test_main()
 |