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

Unified Diff: tools/perf/metrics/speedindex_unittest.py

Issue 1458083003: [Telemetry + tools/perf] Modify the pylint disable message to use symbolic name (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « tools/perf/metrics/speedindex.py ('k') | tools/perf/metrics/system_memory.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/speedindex_unittest.py
diff --git a/tools/perf/metrics/speedindex_unittest.py b/tools/perf/metrics/speedindex_unittest.py
index f46f3d0058bc66787b39c1577d6e60d559bf4749..ae437d3b9e3231ef21b13da367d33e90c5aefc91 100644
--- a/tools/perf/metrics/speedindex_unittest.py
+++ b/tools/perf/metrics/speedindex_unittest.py
@@ -3,7 +3,7 @@
# found in the LICENSE file.
# These tests access private methods in the speedindex module.
-# pylint: disable=W0212
+# pylint: disable=protected-access
import unittest
@@ -14,7 +14,7 @@ from metrics import speedindex
class FakeImageUtil(object):
- # pylint: disable=W0613
+ # pylint: disable=unused-argument
def GetColorHistogram(self, image, ignore_color=None, tolerance=None):
return image.ColorHistogram()
@@ -31,7 +31,7 @@ class FakeBitmap(object):
def __init__(self, r, g, b):
self._histogram = color_histogram.ColorHistogram(r, g, b, rgba_color.WHITE)
- # pylint: disable=W0613
+ # pylint: disable=unused-argument
def ColorHistogram(self, ignore_color=None, tolerance=None):
return self._histogram
« no previous file with comments | « tools/perf/metrics/speedindex.py ('k') | tools/perf/metrics/system_memory.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698