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

Unified Diff: build/android/pylib/host_driven/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
« no previous file with comments | « build/android/pylib/host_driven/test_case.py ('k') | build/android/pylib/host_driven/test_server.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/pylib/host_driven/test_runner.py
diff --git a/build/android/pylib/host_driven/test_runner.py b/build/android/pylib/host_driven/test_runner.py
index 8620aa15209f50fcef2de5f19893834edf826c78..678c08ef541a8fbc904d14915cf4b7fafa8a8892 100644
--- a/build/android/pylib/host_driven/test_runner.py
+++ b/build/android/pylib/host_driven/test_runner.py
@@ -87,7 +87,7 @@ class HostDrivenTestRunner(base_test_runner.BaseTestRunner):
try:
test.SetUp(self.device, self.shard_index)
- except Exception:
+ except Exception: # pylint: disable=broad-except
logging.exception(
'Caught exception while trying to run SetUp() for test: ' +
test.tagged_name)
@@ -101,7 +101,7 @@ class HostDrivenTestRunner(base_test_runner.BaseTestRunner):
try:
results = test.Run()
- except Exception:
+ except Exception: # pylint: disable=broad-except
# Setting this lets TearDown() avoid stomping on our stack trace from
# Run() should TearDown() also raise an exception.
exception_raised = True
@@ -114,7 +114,7 @@ class HostDrivenTestRunner(base_test_runner.BaseTestRunner):
try:
test.TearDown()
- except Exception:
+ except Exception: # pylint: disable=broad-except
logging.exception(
'Caught exception while trying run TearDown() for test: ' +
test.tagged_name)
« no previous file with comments | « build/android/pylib/host_driven/test_case.py ('k') | build/android/pylib/host_driven/test_server.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698