Skip to content

Commit 69a3493

Browse files
[3.13] gh-139743: Avoid import-time print in test_sqlite3 (GH-139746) (GH-139829)
(cherry picked from commit 6508940) Co-authored-by: Peter <[email protected]>
1 parent 7b49ec7 commit 69a3493

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Lib/test/test_sqlite3/__init__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@
88

99
# Implement the unittest "load tests" protocol.
1010
def load_tests(*args):
11+
if verbose:
12+
print(f"test_sqlite3: testing with SQLite version {sqlite3.sqlite_version}")
1113
pkg_dir = os.path.dirname(__file__)
1214
return load_package_tests(pkg_dir, *args)
13-
14-
if verbose:
15-
print(f"test_sqlite3: testing with SQLite version {sqlite3.sqlite_version}")

0 commit comments

Comments
 (0)