]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-93370: Don't print deprecated pysqlite version in test_sqlite3 (#95017)
authorErlend Egeberg Aasland <erlend.aasland@protonmail.com>
Tue, 19 Jul 2022 21:04:20 +0000 (23:04 +0200)
committerGitHub <noreply@github.com>
Tue, 19 Jul 2022 21:04:20 +0000 (23:04 +0200)
Lib/test/test_sqlite3/__init__.py

index c3cab8f0acdc0ba03728381eeccd02141fd07021..d777fca82da4b0d8d9ce14ffff4d748081787dab 100644 (file)
@@ -12,6 +12,4 @@ def load_tests(*args):
     return load_package_tests(pkg_dir, *args)
 
 if verbose:
-    print("test_sqlite3: testing with version",
-          "{!r}, sqlite_version {!r}".format(sqlite3.version,
-                                             sqlite3.sqlite_version))
+    print(f"test_sqlite3: testing with SQLite version {sqlite3.sqlite_version}")