ยปCore Development>Code coverage>Lib/test/test_sqlite.py

Python code coverage for Lib/test/test_sqlite.py

#countcontent
1n/aimport test.support
2n/a
3n/a# Skip test if _sqlite3 module not installed
4n/atest.support.import_module('_sqlite3')
5n/a
6n/aimport unittest
7n/aimport sqlite3
8n/afrom sqlite3.test import (dbapi, types, userfunctions,
9n/a factory, transactions, hooks, regression,
10n/a dump)
11n/a
12n/adef load_tests(*args):
13n/a if test.support.verbose:
14n/a print("test_sqlite: testing with version",
15n/a "{!r}, sqlite_version {!r}".format(sqlite3.version,
16n/a sqlite3.sqlite_version))
17n/a return unittest.TestSuite([dbapi.suite(), types.suite(),
18n/a userfunctions.suite(),
19n/a factory.suite(), transactions.suite(),
20n/a hooks.suite(), regression.suite(),
21n/a dump.suite()])
22n/a
23n/aif __name__ == "__main__":
24n/a unittest.main()