Index: tools/isolate/run_test_from_archive_smoke_test.py |
diff --git a/tools/isolate/run_test_from_archive_smoke_test.py b/tools/isolate/run_test_from_archive_smoke_test.py |
index 686249e8f411d63d37bdcd85dbb290c421a19186..7c2d9e10dd8ae0ee9fcaee8e26ab7916a2d5415b 100755 |
--- a/tools/isolate/run_test_from_archive_smoke_test.py |
+++ b/tools/isolate/run_test_from_archive_smoke_test.py |
@@ -104,7 +104,10 @@ class RunTestFromArchive(unittest.TestCase): |
'--cache', self.cache, |
'--remote', self.table, |
] |
- proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
+ proc = subprocess.Popen( |
+ cmd, |
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE, |
+ universal_newlines=True) |
out, err = proc.communicate() |
self.assertEquals(1070, len(out)) |
self.assertEquals('', err) |
@@ -132,7 +135,10 @@ class RunTestFromArchive(unittest.TestCase): |
'--cache', self.cache, |
'--remote', self.table, |
] |
- proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
+ proc = subprocess.Popen( |
+ cmd, |
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE, |
+ universal_newlines=True) |
out, err = proc.communicate() |
self.assertEquals(1070, len(out)) |
self.assertEquals('', err) |
@@ -146,7 +152,10 @@ class RunTestFromArchive(unittest.TestCase): |
'--cache', self.cache, |
'--remote', self.table, |
] |
- proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE) |
+ proc = subprocess.Popen( |
+ cmd, |
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE, |
+ universal_newlines=True) |
out, err = proc.communicate() |
self.assertEquals('', out) |
self.assertEquals('No file to map\n', err) |