We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ed73c90 commit 869a48aCopy full SHA for 869a48a
Lib/test/test_sqlite3/__init__.py
@@ -7,8 +7,9 @@
7
import sqlite3
8
9
# Implement the unittest "load tests" protocol.
10
-def load_tests(*args):
11
- if verbose:
+def load_tests(loader, tests, pattern):
+ # Only print on the top-level call
12
+ if verbose and pattern is None:
13
print(f"test_sqlite3: testing with SQLite version {sqlite3.sqlite_version}")
14
pkg_dir = os.path.dirname(__file__)
- return load_package_tests(pkg_dir, *args)
15
+ return load_package_tests(pkg_dir, loader, tests, pattern)
0 commit comments