python (3.12.0)
1 from test.support import import_helper, load_package_tests, verbose
2
3 # Skip test if _sqlite3 module not installed.
4 import_helper.import_module('_sqlite3')
5
6 import os
7 import sqlite3
8
9 # Implement the unittest "load tests" protocol.
10 def load_tests(*args):
11 pkg_dir = os.path.dirname(__file__)
12 return load_package_tests(pkg_dir, *args)
13
14 if verbose:
15 print(f"test_sqlite3: testing with SQLite version {sqlite3.sqlite_version}")