File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88import time
99import multiprocessing # To figure out number of cpus
1010import junit_xml as jx
11+ import codecs
1112
1213sys .stdout = os .fdopen (sys .stdout .fileno (), 'w' , 1 ) # line buffering
1314sys .path .insert (0 , "." )
@@ -162,10 +163,10 @@ def wait_status(self):
162163 # Start and wait for the process
163164 self .proc_ .communicate ()
164165
165- with open ('{}/log_stdout.log' .format (self .path_ ), 'r ' ) as log_stdout :
166+ with codecs . open ('{}/log_stdout.log' .format (self .path_ ), encoding = 'utf-8 ' ) as log_stdout :
166167 self .output_ .append (log_stdout .read ())
167168
168- with open ('{}/log_stderr.log' .format (self .path_ ), 'r ' ) as log_stderr :
169+ with codecs . open ('{}/log_stderr.log' .format (self .path_ ), encoding = 'utf-8 ' ) as log_stderr :
169170 self .output_ .append (log_stderr .read ())
170171
171172
You can’t perform that action at this time.
0 commit comments