diff options
-rwxr-xr-x | test/run_device_tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run_device_tests.py b/test/run_device_tests.py index 001be8a204..6884bed674 100755 --- a/test/run_device_tests.py +++ b/test/run_device_tests.py @@ -305,7 +305,7 @@ class AllTests: for test_args in private_tests.tests: tests.append(TestConfig(**test_args)) # Catch all exceptions to avoid disruptions in public repo - except BaseException as e: + except BaseException as e: # pylint: disable=broad-except logging.debug("Failed to get list of private tests: %s", str(e)) logging.debug("Ignore error and continue.") return [] @@ -761,7 +761,7 @@ def main(): if test.ro_image is not None: try: patch_image(test, image_path) - except Exception as exception: + except Exception as exception: # pylint: disable=broad-except logging.warning( "An exception occurred while patching " "image: %s", exception ) |