From ae8bcd4c146daa099c3df0c94a44ff949f633e6f Mon Sep 17 00:00:00 2001 From: Codex Bot Date: Wed, 18 Nov 2026 22:35:16 +0800 Subject: [PATCH] Close the SQLite fixture before PostgreSQL migration --- tests/test_publication_reconciliation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_publication_reconciliation.py b/tests/test_publication_reconciliation.py index 9682738..8d61ac9 100644 --- a/tests/test_publication_reconciliation.py +++ b/tests/test_publication_reconciliation.py @@ -124,6 +124,7 @@ class PublicationReconciliationTests(unittest.TestCase): conn.execute('DROP SCHEMA ' + quote(name) + ' CASCADE') self.addCleanup(cleanup) + self.conn.close() with redirect_stdout(io.StringIO()): migrate(self.db, service, self.root / 'migration.json', schema=schema, min_free_gib=0) entry = self.entries[0]