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

Unified Diff: build/android/pylib/linker/test_runner.py

Issue 1315743004: [Android] Add a custom pylintrc for build/android/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix appurify_sanitized import-errors Created 5 years, 3 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: build/android/pylib/linker/test_runner.py
diff --git a/build/android/pylib/linker/test_runner.py b/build/android/pylib/linker/test_runner.py
index 6366635e4abdd1e65007c4af489dc38381af69d1..d3459520b9eae82454fa573daeac587cd8f7b201 100644
--- a/build/android/pylib/linker/test_runner.py
+++ b/build/android/pylib/linker/test_runner.py
@@ -9,7 +9,6 @@ import os.path
import sys
import traceback
-from devil.android import apk_helper
from pylib import constants
from pylib.base import base_test_result
from pylib.base import base_test_runner
@@ -84,7 +83,7 @@ class LinkerTestRunner(base_test_runner.BaseTestRunner):
try:
results = test.Run(self.device)
- except Exception:
+ except Exception: # pylint: disable=broad-except
logging.exception('Caught exception while trying to run test: ' +
test.tagged_name)
exc_info = sys.exc_info()
« no previous file with comments | « build/android/pylib/linker/test_case.py ('k') | build/android/pylib/local/device/local_device_environment.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698