Accept patch issue2426 by Paul Kippes (kippesp).
[python.git] / Lib / test / test_sqlite.py
blobd63bb1d0f8483d95a5459bc4461c4a6afd4c8b7c
1 from test.test_support import run_unittest, TestSkipped
3 try:
4 import _sqlite3
5 except ImportError:
6 raise TestSkipped('no sqlite available')
7 from sqlite3.test import (dbapi, types, userfunctions, py25tests,
8 factory, transactions, hooks, regression,
9 dump)
11 def test_main():
12 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
13 py25tests.suite(), factory.suite(), transactions.suite(),
14 hooks.suite(), regression.suite(), dump.suite())
16 if __name__ == "__main__":
17 test_main()