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) |