]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45181: Simplify loading sqlite3 tests (GH-28304)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 13 Sep 2021 11:16:26 +0000 (14:16 +0300)
committerGitHub <noreply@github.com>
Mon, 13 Sep 2021 11:16:26 +0000 (14:16 +0300)
commit3e19409d6443c66a6a7d62f58b2bb4e8330e56c4
tree47df05547b3667288586b864accebcfc88ffc037
parent9260e6739865c966c3ec6c5c289e0b96f848403e
bpo-45181: Simplify loading sqlite3 tests (GH-28304)

Use unittest discover instead of manually enumerating all
test modules and classes.
Also add support for filtering them by pattern.
Lib/sqlite3/test/test_backup.py [moved from Lib/sqlite3/test/backup.py with 98% similarity]
Lib/sqlite3/test/test_dbapi.py [moved from Lib/sqlite3/test/dbapi.py with 98% similarity]
Lib/sqlite3/test/test_dump.py [moved from Lib/sqlite3/test/dump.py with 91% similarity]
Lib/sqlite3/test/test_factory.py [moved from Lib/sqlite3/test/factory.py with 96% similarity]
Lib/sqlite3/test/test_hooks.py [moved from Lib/sqlite3/test/hooks.py with 96% similarity]
Lib/sqlite3/test/test_regression.py [moved from Lib/sqlite3/test/regression.py with 98% similarity]
Lib/sqlite3/test/test_transactions.py [moved from Lib/sqlite3/test/transactions.py with 95% similarity]
Lib/sqlite3/test/test_types.py [moved from Lib/sqlite3/test/types.py with 97% similarity]
Lib/sqlite3/test/test_userfunctions.py [moved from Lib/sqlite3/test/userfunctions.py with 98% similarity]
Lib/test/test_sqlite.py