mirror of
https://github.com/python/cpython.git
synced 2024-12-04 07:15:09 +08:00
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. ........
17 lines
547 B
Python
17 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()
|