Mercurial > cpython-lru_cache-weakref
view Lib/test/test_sqlite.py @ 81343:3a7cd8efc19f
#16852: merge with 3.3.
| author | Ezio Melotti <ezio.melotti@gmail.com> |
|---|---|
| date | Thu, 10 Jan 2013 03:29:45 +0200 |
| parents | c990eb9b60a9 |
| children | 71c4234eb39f |
line wrap: on
line source
import test.support # Skip test if _sqlite3 module not installed test.support.import_module('_sqlite3') import sqlite3 from sqlite3.test import (dbapi, types, userfunctions, factory, transactions, hooks, regression, dump) def test_main(): if test.support.verbose: print("test_sqlite: testing with version", "{!r}, sqlite_version {!r}".format(sqlite3.version, sqlite3.sqlite_version)) test.support.run_unittest(dbapi.suite(), types.suite(), userfunctions.suite(), factory.suite(), transactions.suite(), hooks.suite(), regression.suite(), dump.suite()) if __name__ == "__main__": test_main()
