equal
deleted
inserted
replaced
|
1 from test.test_support import run_unittest, TestSkipped |
|
2 import unittest |
|
3 |
|
4 try: |
|
5 import _sqlite3 |
|
6 except ImportError: |
|
7 raise TestSkipped('no sqlite available') |
|
8 from sqlite3.test import (dbapi, types, userfunctions, |
|
9 factory, transactions, hooks, regression) |
|
10 |
|
11 def test_main(): |
|
12 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(), |
|
13 factory.suite(), transactions.suite(), hooks.suite(), |
|
14 regression.suite()) |
|
15 |
|
16 if __name__ == "__main__": |
|
17 test_main() |