A couple of fixes to tests breaking on windows and mac

This commit is contained in:
Veronica K. B. Olsen
2020-10-01 20:44:52 +02:00
parent 26ebcd496d
commit f1d8265a02
2 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -203,7 +203,7 @@ def main(sysArgs=None):
if not logFile == "" and toFile:
if os.path.isfile(logFile+".bak"):
os.remove(logFile+".bak")
os.unlink(logFile+".bak")
if os.path.isfile(logFile):
os.rename(logFile, logFile+".bak")