Bug 847256 - fix marionette logging UnicodeEncodeError, r=mdas

This commit is contained in:
Jonathan Griffin 2013-03-04 15:40:41 -08:00
parent 43728598df
commit 7c606bbdd3

View File

@ -66,7 +66,7 @@ class MarionetteTestResult(unittest._TextTestResult):
return
self.stream.writeln('START LOG:')
for line in testcase.loglines:
self.stream.writeln(' '.join(line))
self.stream.writeln(' '.join(line).encode('ascii', 'replace'))
self.stream.writeln('END LOG:')
def getPerfData(self, test):