Staging
v0.8.1
https://github.com/python/cpython
Raw File
Tip revision: 624af829a7d930d29f359c3d8a2408efc36b34e8 authored by Trent Mick on 19 June 2006, 23:57:41 UTC
[ 1295808 ] expat symbols should be namespaced in pyexpat
Tip revision: 624af82
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