We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c6681e4 + 843606a commit b7c604cCopy full SHA for b7c604c
1 file changed
TestCases/TestCase.py
@@ -340,10 +340,10 @@ def run_filediff(self, running_with_tsan=False):
340
diff = ''
341
try:
342
fromdate = time.ctime(os.stat(fromfile).st_mtime)
343
- fromlines = open(fromfile, 'U').readlines()
+ fromlines = open(fromfile, 'r').readlines()
344
345
todate = time.ctime(os.stat(tofile).st_mtime)
346
- tolines = open(tofile, 'U').readlines()
+ tolines = open(tofile, 'r').readlines()
347
348
# If file tolerance is set to 0, make regular diff
349
if self.tol_file_percent == 0.0:
0 commit comments