cpython/Lib/test/test_sqlite3
Erlend E. Aasland 0e8b3fc718
gh-108550: Speed up sqlite3 tests (#108551)
Refactor the CLI so we can easily invoke it and mock command-line
arguments. Adapt the CLI tests so we no longer have to launch a
separate process.

Disable the busy handler for all concurrency tests; we have full
control over the order of the SQLite C API calls, so we can safely
do this.

The sqlite3 test suite now completes ~8 times faster than before.

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2023-08-28 14:17:34 +02:00
..
__init__.py
__main__.py
test_backup.py gh-105539: Fix ResourceWarning from unclosed SQLite connections in test_sqlite3 (#108360) 2023-08-23 10:10:08 +00:00
test_cli.py gh-108550: Speed up sqlite3 tests (#108551) 2023-08-28 14:17:34 +02:00
test_dbapi.py gh-108550: Speed up sqlite3 tests (#108551) 2023-08-28 14:17:34 +02:00
test_dump.py gh-64662: Add virtual table support to sqlite3.Connection.iterdump (#108340) 2023-08-28 00:18:32 +02:00
test_factory.py gh-105539: Explict resource management for connection objects in sqlite3 tests (#108017) 2023-08-17 08:45:48 +02:00
test_hooks.py gh-105539: Explict resource management for connection objects in sqlite3 tests (#108017) 2023-08-17 08:45:48 +02:00
test_regression.py gh-105539: Explict resource management for connection objects in sqlite3 tests (#108017) 2023-08-17 08:45:48 +02:00
test_transactions.py gh-108550: Speed up sqlite3 tests (#108551) 2023-08-28 14:17:34 +02:00
test_types.py
test_userfunctions.py gh-105539: Explict resource management for connection objects in sqlite3 tests (#108017) 2023-08-17 08:45:48 +02:00
util.py gh-105539: Explict resource management for connection objects in sqlite3 tests (#108017) 2023-08-17 08:45:48 +02:00