We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bec49de commit 3f50ae9Copy full SHA for 3f50ae9
1 file changed
test/testrunner.py
@@ -163,10 +163,10 @@ def wait_status(self):
163
# Start and wait for the process
164
self.proc_.communicate()
165
166
- with codecs.open('{}/log_stdout.log'.format(self.path_), encoding='utf-8') as log_stdout:
+ with codecs.open('{}/log_stdout.log'.format(self.path_), encoding='utf-8', errors='replace') as log_stdout:
167
self.output_.append(log_stdout.read())
168
169
- with codecs.open('{}/log_stderr.log'.format(self.path_), encoding='utf-8') as log_stderr:
+ with codecs.open('{}/log_stderr.log'.format(self.path_), encoding='utf-8', errors='replace') as log_stderr:
170
self.output_.append(log_stderr.read())
171
172
0 commit comments