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

Unified Diff: tools/telemetry/telemetry/core/platform/android_device_unittest.py

Issue 1103553002: Reland Reenable unused-import lint check for telemetry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 months 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/core/platform/android_device_unittest.py
diff --git a/tools/telemetry/telemetry/core/platform/android_device_unittest.py b/tools/telemetry/telemetry/core/platform/android_device_unittest.py
index 6e7609b33713c142e141245e2edf01dd7f4577f0..b8a61dd7195aa7b0060420dafdd8f4c854ec42c8 100644
--- a/tools/telemetry/telemetry/core/platform/android_device_unittest.py
+++ b/tools/telemetry/telemetry/core/platform/android_device_unittest.py
@@ -4,7 +4,6 @@
import unittest
-from telemetry import benchmark
from telemetry.core import browser_options
from telemetry.core.platform import android_device
from telemetry.core.platform import android_platform_backend
@@ -43,7 +42,7 @@ class GetDeviceTest(unittest.TestCase):
def testNoAdbReturnsNone(self):
finder_options = browser_options.BrowserFinderOptions()
- def NoAdb(*_, **__):
+ def NoAdb(*_1, **_2):
raise OSError('not found')
self._android_device_stub.subprocess.Popen = NoAdb
« no previous file with comments | « tools/telemetry/telemetry/core/device_finder.py ('k') | tools/telemetry/telemetry/core/platform/android_platform_backend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698