Anthony Baxter | c51ee69 | 2006-04-01 00:57:31 +0000 | [diff] [blame] | 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) | ||||
10 | |||||
11 | def test_main(): | ||||
12 | run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(), | ||||
13 | factory.suite(), transactions.suite()) | ||||
14 | |||||
15 | if __name__ == "__main__": | ||||
16 | test_main() |