Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 3d9eecb0bb737f062a58347877922143ccc48ffd authored by Martin v. Löwis on 19 December 2008, 15:08:45 UTC
Prepare for 2.5.3.
Tip revision: 3d9eecb
test_sqlite.py
from test.test_support import run_unittest, TestSkipped
import unittest

try:
    import _sqlite3
except ImportError:
    raise TestSkipped('no sqlite available')
from sqlite3.test import (dbapi, types, userfunctions,
                                factory, transactions, hooks, regression)

def test_main():
    run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
                 factory.suite(), transactions.suite(), hooks.suite(),
                 regression.suite())

if __name__ == "__main__":
    test_main()
back to top