diff options
author | Andrea Grandi <agrandi@google.com> | 2022-11-28 11:54:06 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-11-29 00:36:02 +0000 |
commit | 5fa09f3889b8476e5c34df1d363b514dec0738fe (patch) | |
tree | a9e391a8e4b9d843dc6b56ebbe0ce6c574ab31b4 /test | |
parent | 4ca57630ffff4182ffb4e29879d70346623650f8 (diff) | |
download | chrome-ec-5fa09f3889b8476e5c34df1d363b514dec0738fe.tar.gz |
test: Fix TypeError in run_device_tests.py
BUG=b:260607990
TEST=run_device_tests.py --help
BRANCH=none
Signed-off-by: Andrea Grandi <agrandi@google.com>
Change-Id: I51166b553497a20e2ba8743d2da682768a3d2cd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4062572
Reviewed-by: Tom Hughes <tomhughes@chromium.org>
Code-Coverage: Zoss <zoss-cl-coverage@prod.google.com>
Diffstat (limited to 'test')
-rwxr-xr-x | test/run_device_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/run_device_tests.py b/test/run_device_tests.py index 15f160a53b..8983a60b82 100755 --- a/test/run_device_tests.py +++ b/test/run_device_tests.py @@ -397,7 +397,7 @@ def read_file_gsutil(path: str) -> bytes: return gsutil.stdout -def find_section_offset_size(section: str, image: bytes) -> Tuple(int, int): +def find_section_offset_size(section: str, image: bytes) -> Tuple[int, int]: """Get offset and size of the section in image""" areas = fmap.fmap_decode(image)["areas"] area = next(area for area in areas if area["name"] == section) |