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 |