Skip to content

Commit

Permalink
Close file before removing to prevent permission error under windows (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mltja committed Oct 13, 2022
1 parent 75084b6 commit 4089360
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_edisgo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1294,6 +1294,7 @@ def test_save(self):

zip = ZipFile(zip_file)
files = zip.namelist()
zip.close()
assert len(files) == 24

os.remove(zip_file)
Expand Down

0 comments on commit 4089360

Please sign in to comment.