mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 09:24:31 +02:00
Use new db.close() method, refs #504
This commit is contained in:
parent
05e2bb85fc
commit
c7e4308e6f
1 changed files with 1 additions and 1 deletions
|
|
@ -30,6 +30,6 @@ def test_recreate(tmp_path, use_path, create_file_first):
|
|||
db = Database(filepath)
|
||||
db["t1"].insert({"foo": "bar"})
|
||||
assert ["t1"] == db.table_names()
|
||||
db.conn.close()
|
||||
db.close()
|
||||
Database(filepath, recreate=True)["t2"].insert({"foo": "bar"})
|
||||
assert ["t2"] == Database(filepath).table_names()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue