Index: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_unittest.py |
diff --git a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_unittest.py b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_unittest.py |
index c5f9ba61a5b5e8e0967cd9867268cce175dc209e..4ec074c6949d75349f67dea82feb3d5987995c44 100644 |
--- a/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_unittest.py |
+++ b/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/server_process_unittest.py |
@@ -92,7 +92,8 @@ class FakeServerProcess(server_process.ServerProcess): |
class TestServerProcess(unittest.TestCase): |
def test_basic(self): |
- cmd = [sys.executable, '-c', 'import sys; import time; time.sleep(0.02); print "stdout"; sys.stdout.flush(); print >>sys.stderr, "stderr"'] |
+ cmd = [sys.executable, '-c', |
+ 'import sys; import time; time.sleep(0.02); print "stdout"; sys.stdout.flush(); print >>sys.stderr, "stderr"'] |
host = SystemHost() |
factory = PortFactory(host) |
port = factory.get() |
@@ -155,15 +156,12 @@ class TestQuoteData(unittest.TestCase): |
def test_trailing_spaces(self): |
qd = server_process.quote_data |
- self.assertEqual(qd("foo "), |
- ["foo\x20\x20"]) |
+ self.assertEqual(qd("foo "), ["foo\x20\x20"]) |
def test_newlines(self): |
qd = server_process.quote_data |
- self.assertEqual(qd("foo \nbar\n"), |
- ["foo\x20\\n", "bar\\n"]) |
+ self.assertEqual(qd("foo \nbar\n"), ["foo\x20\\n", "bar\\n"]) |
def test_binary_data(self): |
qd = server_process.quote_data |
- self.assertEqual(qd("\x00\x01ab"), |
- ["\\x00\\x01ab"]) |
+ self.assertEqual(qd("\x00\x01ab"), ["\\x00\\x01ab"]) |