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