From ed1583383eeca3c1e58a5b65632f39f72544868e Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 13 Dec 2023 11:24:27 +1100 Subject: [PATCH] fix(db): remove stale comment in tests --- tests/test_sqlite_migrator.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_sqlite_migrator.py b/tests/test_sqlite_migrator.py index 5caa9201fc..8a4814b712 100644 --- a/tests/test_sqlite_migrator.py +++ b/tests/test_sqlite_migrator.py @@ -237,7 +237,6 @@ def test_migrator_runs_all_migrations_in_memory(migrator: SQLiteMigrator) -> Non def test_migrator_runs_all_migrations_file(logger: Logger) -> None: with TemporaryDirectory() as tempdir: original_db_path = Path(tempdir) / "invokeai.db" - # The Migrator closes the database when it finishes; we cannot use a context manager. db = SqliteDatabase(db_path=original_db_path, logger=logger, verbose=False) migrator = SQLiteMigrator(db=db) migrations = [Migration(from_version=i, to_version=i + 1, callback=create_migrate(i)) for i in range(0, 3)]