Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: 63a976e114f4c20656ca211b7f545b329d1b6675 authored by Barry Warsaw on 14 April 2009, 13:16:19 UTC
Bumping to 2.6.2 (final).
Tip revision: 63a976e
test_sqlite.py
from test.test_support import run_unittest, TestSkipped

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

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

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