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

Unified Diff: tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor_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/platform/power_monitor/sysfs_power_monitor_unittest.py
diff --git a/tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor_unittest.py b/tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor_unittest.py
index 8a276967f61d4fc9e2d7ed21f6009758b0ce3db5..b3e2559b38c3900bb2c3a17fb25cf512ef0be060 100644
--- a/tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor_unittest.py
+++ b/tools/telemetry/telemetry/internal/platform/power_monitor/sysfs_power_monitor_unittest.py
@@ -241,7 +241,7 @@ class SysfsPowerMonitorMonitorTest(unittest.TestCase):
sysfsmon = sysfs_power_monitor.SysfsPowerMonitor(
PlatformStub(cpu_state_from_samsung_note3))
- # pylint: disable=W0212
+ # pylint: disable=protected-access
sysfsmon._cpus = cpus
cstate = sysfsmon.GetCpuState()
result = android_platform_backend.AndroidPlatformBackend.ParseCStateSample(
@@ -274,7 +274,7 @@ class SysfsPowerMonitorMonitorTest(unittest.TestCase):
sysfsmon = sysfs_power_monitor.SysfsPowerMonitor(
PlatformStub(cpu_state_from_samsung_note3), standalone=True)
- # pylint: disable=W0212
+ # pylint: disable=protected-access
sysfsmon._cpus = cpus
cstate = sysfsmon.GetCpuState()
result = android_platform_backend.AndroidPlatformBackend.ParseCStateSample(

Powered by Google App Engine
This is Rietveld 408576698