Index: tools/telemetry/telemetry/web_perf/metrics/smoothness_unittest.py |
diff --git a/tools/telemetry/telemetry/web_perf/metrics/smoothness_unittest.py b/tools/telemetry/telemetry/web_perf/metrics/smoothness_unittest.py |
index 2f6c85ac9045dced71701c033dec413b7b9bc873..983ff0bd8b883620720dacbfd776a8a345cc0c5b 100644 |
--- a/tools/telemetry/telemetry/web_perf/metrics/smoothness_unittest.py |
+++ b/tools/telemetry/telemetry/web_perf/metrics/smoothness_unittest.py |
@@ -60,6 +60,7 @@ class SmoothnessMetricUnitTest(unittest.TestCase): |
def testComputeLatencyMetric(self): |
stats = _MockRenderingStats(frame_timestamps=self.good_timestamps, |
input_event_latency=[[10, 20], [30, 40, 50]]) |
+ # pylint: disable=unbalanced-tuple-unpacking |
mean_value, discrepancy_value = self.metric._ComputeLatencyMetric( |
self.page, stats, 'input_event_latency', stats.input_event_latency) |
self.assertEquals(30, mean_value.value) |
@@ -76,6 +77,7 @@ class SmoothnessMetricUnitTest(unittest.TestCase): |
stats = _MockRenderingStats( |
frame_timestamps=self.not_enough_frames_timestamps, |
input_event_latency=[[], []]) |
+ # pylint: disable=unbalanced-tuple-unpacking |
mean_value, discrepancy_value = self.metric._ComputeLatencyMetric( |
self.page, stats, 'input_event_latency', stats.input_event_latency) |
self.assertEquals(None, mean_value.value) |