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

Unified Diff: tools/telemetry/telemetry/results/csv_pivot_table_output_formatter_unittest.py

Issue 739623005: [Telemetry] Resolve errors due to new pylint checker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ready to land Created 6 years, 1 month 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
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.

Powered by Google App Engine
This is Rietveld 408576698