source: trunk/essentials/dev-lang/python/Lib/test/test_sqlite.py@ 3226

Last change on this file since 3226 was 3225, checked in by bird, 19 years ago

Python 2.5

File size: 532 bytes
Line 
1from test.test_support import run_unittest, TestSkipped
2import unittest
3
4try:
5 import _sqlite3
6except ImportError:
7 raise TestSkipped('no sqlite available')
8from sqlite3.test import (dbapi, types, userfunctions,
9 factory, transactions, hooks, regression)
10
11def test_main():
12 run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
13 factory.suite(), transactions.suite(), hooks.suite(),
14 regression.suite())
15
16if __name__ == "__main__":
17 test_main()
Note: See TracBrowser for help on using the repository browser.