Index: tools/telemetry/telemetry/results/csv_pivot_table_output_formatter_unittest.py |
diff --git a/tools/telemetry/telemetry/results/csv_pivot_table_output_formatter_unittest.py b/tools/telemetry/telemetry/results/csv_pivot_table_output_formatter_unittest.py |
index 124fab4e6d38e4ab2dbf41580bb6d31432cab78a..61ea281f47afaa977dbd23a56cb76247bd425a29 100644 |
--- a/tools/telemetry/telemetry/results/csv_pivot_table_output_formatter_unittest.py |
+++ b/tools/telemetry/telemetry/results/csv_pivot_table_output_formatter_unittest.py |
@@ -74,7 +74,7 @@ class CsvPivotTableOutputFormatterTest(unittest.TestCase): |
# Parse CSV output into list of lists. |
csv_string = self.Format() |
lines = csv_string.split(self._LINE_SEPARATOR) |
- values = map(lambda s : s.split(','), lines[1:-1]) |
+ values = [s.split(',') for s in lines[1:-1]] |
self.assertEquals(len(values), 4) # We expect 4 value in total. |
self.assertEquals(len(set((v[1] for v in values))), 2) # 2 pages. |