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

Unified Diff: tools/telemetry/telemetry/testing/system_stub.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/testing/system_stub.py
diff --git a/tools/telemetry/telemetry/testing/system_stub.py b/tools/telemetry/telemetry/testing/system_stub.py
index 9dd59d6f39774ef95022b355941544c27c1fdd17..da57d4c9442ff5a6c9f1903a8226f51c35b6ee00 100644
--- a/tools/telemetry/telemetry/testing/system_stub.py
+++ b/tools/telemetry/telemetry/testing/system_stub.py
@@ -87,7 +87,8 @@ class AdbDevice(object):
def FileExists(self, _):
return False
- def ReadFile(self, device_path, as_root=False): # pylint: disable=W0613
+ def ReadFile(self, device_path, as_root=False):
+ del device_path, as_root # unused
return self.mock_content
def GetProp(self, property_name):
« no previous file with comments | « tools/telemetry/telemetry/testing/simple_mock_unittest.py ('k') | tools/telemetry/telemetry/timeline/counter.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698