diff options
author | Per Larsen <perlarsen@google.com> | 2024-01-13 05:12:57 +0000 |
---|---|---|
committer | Per Larsen <perlarsen@google.com> | 2024-01-13 05:15:15 +0000 |
commit | ae4ff7a88c96b5b858cac90e568b3791f5053ece (patch) | |
tree | be94e69807f3534377ab2c59d0a3ec645169679b | |
parent | a9dc1ef0f6c21a5bae5d9d673bf2390b0c38d7d1 (diff) | |
download | aosp-ae4ff7a88c96b5b858cac90e568b3791f5053ece.tar.gz |
scripts: remove dead code
ModuleNotFoundError is a subclass of ImportError so the
second except statement is unreachable.
Bug: None
Change-Id: I5a3f774951d1bb8b72c1403d09872ede8a3f485a
-rwxr-xr-x | scripts/run_tests.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/scripts/run_tests.py b/scripts/run_tests.py index f88caeb..39cdc37 100755 --- a/scripts/run_tests.py +++ b/scripts/run_tests.py @@ -296,8 +296,6 @@ def run_tests( sys.path.pop() except ImportError: return None - except ModuleNotFoundError: - return None return run |