Staging
v0.8.1
Revision 7f554c536cfe2e66a1ff0a36c8896040be1e5aee authored by Miss Islington (bot) on 28 March 2018, 06:43:51 UTC, committed by Ned Deily on 28 March 2018, 07:33:49 UTC
(cherry picked from commit e52ac045972a4f75d7f52e4ee0d6de128259134d)

Co-authored-by: Ned Deily <nad@python.org>
1 parent 3647f85
Raw File
test_sqlite.py
import test.support

# Skip test if _sqlite3 module not installed
test.support.import_module('_sqlite3')

import unittest
import sqlite3
from sqlite3.test import (dbapi, types, userfunctions,
                                factory, transactions, hooks, regression,
                                dump)

def load_tests(*args):
    if test.support.verbose:
        print("test_sqlite: testing with version",
              "{!r}, sqlite_version {!r}".format(sqlite3.version,
                                                 sqlite3.sqlite_version))
    return unittest.TestSuite([dbapi.suite(), types.suite(),
                               userfunctions.suite(),
                               factory.suite(), transactions.suite(),
                               hooks.suite(), regression.suite(),
                               dump.suite()])

if __name__ == "__main__":
    unittest.main()
back to top