diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-08-28 22:26:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-28 22:26:29 (GMT) |
commit | f5c5f32f5a36398c06611e8e2cbeda08ef777f1d (patch) | |
tree | 8b2f72a9072ed895f791b3460550dc58e0144e66 /Python/pymath.c | |
parent | b451e9020df6414e8c51e4e0acd41f855b8742cd (diff) | |
download | cpython-f5c5f32f5a36398c06611e8e2cbeda08ef777f1d.zip cpython-f5c5f32f5a36398c06611e8e2cbeda08ef777f1d.tar.gz cpython-f5c5f32f5a36398c06611e8e2cbeda08ef777f1d.tar.bz2 |
[3.12] gh-108550: Speed up sqlite3 tests (GH-108551) (#108566)
gh-108550: Speed up sqlite3 tests (GH-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.
(cherry picked from commit 0e8b3fc718c8a1c4de558c553d9e05049c1dbec6)
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions