New autouse fixture to help with test warnings

Refs https://github.com/simonw/sqlite-utils/issues/692#issuecomment-3644371889
This commit is contained in:
Simon Willison 2025-12-11 16:30:07 -08:00
commit 77359bea30
5 changed files with 46 additions and 46 deletions

View file

@ -44,7 +44,6 @@ def big_db_to_analyze_path(tmpdir):
}
)
db["stuff"].insert_all(to_insert)
db.close()
return path
@ -313,7 +312,6 @@ def test_analyze_table_validate_columns(tmpdir, args, expected_error):
"age": 5,
}
)
db.close()
result = CliRunner().invoke(
cli.cli,
["analyze-tables", path] + args,