Cleaned up tests for syntax

This commit is contained in:
Veronica K. B. Olsen
2020-08-14 19:50:29 +02:00
parent 559f2e53e4
commit 77b1d50e31
9 changed files with 148 additions and 122 deletions
+2 -2
View File
@@ -15,13 +15,13 @@ def ensureDir(theDir):
def cmpFiles(fileOne, fileTwo, ignoreLines=[]):
try:
foOne = open(fileOne,mode="r",encoding="utf8")
foOne = open(fileOne, mode="r", encoding="utf8")
except Exception as e:
print(str(e))
return False
try:
foTwo = open(fileTwo,mode="r",encoding="utf8")
foTwo = open(fileTwo, mode="r", encoding="utf8")
except Exception as e:
print(str(e))
return False