~malept/ubuntu/lucid/python2.6/dev-dependency-fix

« back to all changes in this revision

Viewing changes to Lib/test/test_sqlite.py

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-02-13 12:51:00 UTC
  • Revision ID: james.westby@ubuntu.com-20090213125100-uufgcb9yeqzujpqw
Tags: upstream-2.6.1
ImportĀ upstreamĀ versionĀ 2.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from test.test_support import run_unittest, TestSkipped
 
2
 
 
3
try:
 
4
    import _sqlite3
 
5
except ImportError:
 
6
    raise TestSkipped('no sqlite available')
 
7
from sqlite3.test import (dbapi, types, userfunctions, py25tests,
 
8
                                factory, transactions, hooks, regression,
 
9
                                dump)
 
10
 
 
11
def test_main():
 
12
    run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(),
 
13
                 py25tests.suite(), factory.suite(), transactions.suite(),
 
14
                 hooks.suite(), regression.suite(), dump.suite())
 
15
 
 
16
if __name__ == "__main__":
 
17
    test_main()