You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
948 B
26 lines
948 B
4 months ago
|
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, backup)
|
||
|
|
||
|
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(),
|
||
|
backup.suite()])
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
unittest.main()
|