We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0cab87 commit 843606aCopy full SHA for 843606a
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