Skip to content

Commit

Permalink
Merge pull request #59937 from qgis/backport-59931-to-release-3_40
Browse files Browse the repository at this point in the history
[Backport release-3_40] Avoid unclosed file warning in test
  • Loading branch information
alexbruy authored Dec 17, 2024
2 parents 918a0dc + 658562d commit b01e01f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/src/python/test_provider_shapefile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b01e01f

Please sign in to comment.