diff --git a/tests/src/python/test_provider_shapefile.py b/tests/src/python/test_provider_shapefile.py index ab1291a54a4a..952145239259 100644 --- a/tests/src/python/test_provider_shapefile.py +++ b/tests/src/python/test_provider_shapefile.py @@ -605,8 +605,11 @@ def testRepackUnderFileLocks(self): vl = None + f_shp.close() del f_shp + f_shx.close() del f_shx + f_dbf.close() del f_dbf # Test repacking has been done