[Python-checkins] gh-93370: Don't print deprecated pysqlite version in test_sqlite3 (#95017)
erlend-aasland
webhook-mailer at python.org
Tue Jul 19 17:04:30 EDT 2022
https://github.com/python/cpython/commit/be09bae608cae90e50dbf71b585b5ee386fdd952
commit: be09bae608cae90e50dbf71b585b5ee386fdd952
branch: main
author: Erlend Egeberg Aasland <erlend.aasland at protonmail.com>
committer: erlend-aasland <erlend.aasland at protonmail.com>
date: 2022-07-19T23:04:20+02:00
summary:
gh-93370: Don't print deprecated pysqlite version in test_sqlite3 (#95017)
files:
M Lib/test/test_sqlite3/__init__.py
diff --git a/Lib/test/test_sqlite3/__init__.py b/Lib/test/test_sqlite3/__init__.py
index c3cab8f0acdc0..d777fca82da4b 100644
--- a/Lib/test/test_sqlite3/__init__.py
+++ b/Lib/test/test_sqlite3/__init__.py
@@ -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}")
More information about the Python-checkins
mailing list