]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Clean up the sqlite3 tests (GH-93056)
authorSerhiy Storchaka <storchaka@gmail.com>
Sat, 21 May 2022 16:06:12 +0000 (19:06 +0300)
committerGitHub <noreply@github.com>
Sat, 21 May 2022 16:06:12 +0000 (19:06 +0300)
commite5d8dbdd304935dbd0631ee9605efb501332f792
tree5030c44e602aa6286164e28e288fad9f0cefdf47
parentf9d6c59917435980fbe1b58c57257c45bfed2244
Clean up the sqlite3 tests (GH-93056)

Remove helper managed_connect(). Use memory_database() or
contextlib.closing() + addCleanup(unlink) instead.
Lib/test/test_sqlite3/test_dbapi.py
Lib/test/test_sqlite3/test_regression.py