Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 11a859d70dffc8da51d346dabd1fe6a635825ae5 authored by Martin v. Löwis on 28 May 2011, 11:58:36 UTC
r88840: Prepare for 2.5.6.
Tip revision: 11a859d
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