Changeset: 5960be32ad70 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=5960be32ad70
Modified Files:
        sql/test/Tests/hot_snapshot.py
Branch: Jun2020
Log Message:

Close file descriptor when done


diffs (11 lines):

diff --git a/sql/test/Tests/hot_snapshot.py b/sql/test/Tests/hot_snapshot.py
--- a/sql/test/Tests/hot_snapshot.py
+++ b/sql/test/Tests/hot_snapshot.py
@@ -114,6 +114,7 @@ def test_snapshot(z_extension, expected_
         with tarfile.open(fileobj=f) as tar:
             tar.extractall(dbfarm)
 
+        f.close()
         # and restart the server
         with process.server(dbname=mydb, mapiport = mapi_port, 
stdin=process.PIPE) as server:
 
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to