Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1957)

Unified Diff: Tools/Scripts/webkitpy/layout_tests/views/metered_stream.py

Issue 591563002: Try #3 to fix the android layout tests crash in run-webkit-tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: s/encode/decode again Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/android.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/layout_tests/views/metered_stream.py
diff --git a/Tools/Scripts/webkitpy/layout_tests/views/metered_stream.py b/Tools/Scripts/webkitpy/layout_tests/views/metered_stream.py
index fd04ad868a85a4ba798497a066950e2878198780..951cd2fb8dcaa29002396326cefcbbcae2a5cf1e 100644
--- a/Tools/Scripts/webkitpy/layout_tests/views/metered_stream.py
+++ b/Tools/Scripts/webkitpy/layout_tests/views/metered_stream.py
@@ -105,7 +105,7 @@ class MeteredStream(object):
else:
msg = self._ensure_newline(txt)
- self._stream.write(msg)
+ self._stream.write(msg.decode('ascii', errors='replace'))
def writeln(self, txt, now=None, pid=None):
self.write(self._ensure_newline(txt), now, pid)
« no previous file with comments | « Tools/Scripts/webkitpy/layout_tests/port/android.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698