File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1364,6 +1364,7 @@ def _create_test_table(db_file):
13641364 cursor .execute ("CREATE TABLE test (fid SERIAL, txt TEXT);" )
13651365 cursor .execute ("INSERT INTO test VALUES (123, 'hello');" )
13661366 cursor .execute ("COMMIT;" )
1367+ con .close ()
13671368
13681369
13691370def _create_spatial_table (db_file ):
@@ -1479,6 +1480,7 @@ def test_push_gpkg_schema_change(mc):
14791480 # open a connection and keep it open (qgis does this with a pool of connections too)
14801481 acon2 = AnotherSqliteConn (test_gpkg )
14811482 acon2 .run ("select count(*) from simple;" )
1483+ acon2 .close ()
14821484
14831485 # add a new table to ensure that geodiff will fail due to unsupported change
14841486 # (this simulates an independent reader/writer like GDAL)
You can’t perform that action at this time.
0 commit comments