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

Unified Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_mock.py

Issue 2633753003: [Android] Stop using universal_newlines in the layout tests server constructor. (RELAND) (Closed)
Patch Set: accept unicode and str objects Created 3 years, 11 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 | « third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_mock.py
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_mock.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_mock.py
index 5a1633ad21257727313ff8747fb013fda4e42935..70ac65c89cb8cf7045aa31527453e11920bf790b 100644
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_mock.py
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_mock.py
@@ -29,8 +29,12 @@
class MockServerProcess(object):
- def __init__(self, port_obj=None, name=None, cmd=None, env=None, universal_newlines=False,
- treat_no_data_as_crash=False, more_logging=False, lines=None, crashed=False):
+ def __init__(self, port_obj=None, name=None, cmd=None, env=None,
+ treat_no_data_as_crash=False, more_logging=False, lines=None,
+ crashed=False):
+ # port_obj and name are unused, but are maintained for compatibility
+ # with server_process.ServerProcess.
+ # pylint: disable=unused-argument
self.timed_out = False
self.lines = lines or ['#READY']
self.crashed = crashed
« no previous file with comments | « third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698