]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Clean up the sqlite3 tests (GH-93056)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 21 May 2022 16:37:04 +0000 (09:37 -0700)
committerGitHub <noreply@github.com>
Sat, 21 May 2022 16:37:04 +0000 (09:37 -0700)
commit748c83d96da735f8210167d676469860d4e11b80
tree9ab47443e579ff84d37916877467f59774f9f8dd
parent09c3dff3ba4c0cd224f8035265a05fbe5953987e
Clean up the sqlite3 tests (GH-93056)

Remove helper managed_connect(). Use memory_database() or
contextlib.closing() + addCleanup(unlink) instead.
(cherry picked from commit e5d8dbdd304935dbd0631ee9605efb501332f792)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Lib/test/test_sqlite3/test_dbapi.py
Lib/test/test_sqlite3/test_regression.py