]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44430: Refactor `sqlite3` threading tests (GH-26748)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Sun, 20 Jun 2021 19:26:36 +0000 (21:26 +0200)
committerGitHub <noreply@github.com>
Sun, 20 Jun 2021 19:26:36 +0000 (20:26 +0100)
commit5f0fc30de46d41dccf04096df12664fc0a684ca2
treea74b7705125f5784beb31e22344dd1fcb8eca4a1
parent7d0a47e1affd0a2f56600f3e9473f55f931595bd
bpo-44430: Refactor `sqlite3` threading tests (GH-26748)

1. Rewrite ThreadTests with a _run_test() helper method that does the heavy lifting
2. Add test.support.threading_helper.reap_threads to _run_test()
3. Use _run_test() in all threading tests
4. Add test case for sqlite3.Connection.set_trace_callback
5. Add test case for sqlite3.Connection.create_collation
Lib/sqlite3/test/dbapi.py