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

Unified Diff: tools/telemetry/telemetry/internal/image_processing/video_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
Index: tools/telemetry/telemetry/internal/image_processing/video_unittest.py
diff --git a/tools/telemetry/telemetry/internal/image_processing/video_unittest.py b/tools/telemetry/telemetry/internal/image_processing/video_unittest.py
index 7cbf4e6e3e74c2f8864bcb42849ad4f4b7986e58..0f83ff5a8a3f146cf44833ce78b02b711acf191a 100644
--- a/tools/telemetry/telemetry/internal/image_processing/video_unittest.py
+++ b/tools/telemetry/telemetry/internal/image_processing/video_unittest.py
@@ -24,7 +24,7 @@ class VideoTest(unittest.TestCase):
finally:
if not host_platform.CanLaunchApplication('avconv'):
logging.warning('Test not supported on this platform')
- return # pylint: disable=W0150
+ return # pylint: disable=lost-exception
vid = os.path.join(util.GetUnittestDataDir(), 'vid.mp4')
expected_timestamps = [
@@ -41,7 +41,7 @@ class VideoTest(unittest.TestCase):
video_obj = video.Video(vid)
# Calling _FramesFromMp4 should return all frames.
- # pylint: disable=W0212
+ # pylint: disable=protected-access
for i, timestamp_bitmap in enumerate(video_obj._FramesFromMp4(vid)):
timestamp, bmp = timestamp_bitmap
self.assertEquals(timestamp, expected_timestamps[i])

Powered by Google App Engine
This is Rietveld 408576698