Changeset: 1ab55c6ff492 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/1ab55c6ff492
Modified Files:
        testing/Mtest.py.in
Branch: Jan2022
Log Message:

Ignore rmtree errors so that we can continue testing.


diffs (17 lines):

diff --git a/testing/Mtest.py.in b/testing/Mtest.py.in
--- a/testing/Mtest.py.in
+++ b/testing/Mtest.py.in
@@ -304,11 +304,11 @@ def remove(file):
     except FileNotFoundError:
         pass
     except IsADirectoryError:
-        shutil.rmtree(file)
+        shutil.rmtree(file, ignore_errors=True)
     except PermissionError:
         # on Windows we get a weird error from os.remove on a directory
         if os.name == "nt":
-            shutil.rmtree(file)
+            shutil.rmtree(file, ignore_errors=True)
         else:
             Warn('could not remove {}'.format(file))
     except:
_______________________________________________
checkin-list mailing list -- checkin-list@monetdb.org
To unsubscribe send an email to checkin-list-le...@monetdb.org

Reply via email to