gh-139743: Avoid import-time print in test_sqlite3 (GH-139746)

This commit is contained in:
Peter 2025-10-09 16:00:37 +08:00 committed by GitHub
parent 7f155f9c46
commit 65089406a5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -8,8 +8,7 @@
# Implement the unittest "load tests" protocol.
def load_tests(*args):
if verbose:
print(f"test_sqlite3: testing with SQLite version {sqlite3.sqlite_version}")
pkg_dir = os.path.dirname(__file__)
return load_package_tests(pkg_dir, *args)
if verbose:
print(f"test_sqlite3: testing with SQLite version {sqlite3.sqlite_version}")