diff options
author | Simon Glass <sjg@chromium.org> | 2023-06-01 10:22:25 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-14 12:54:50 -0400 |
commit | e22596113a9b1fea2ac1da9cace9dff337fa1146 (patch) | |
tree | 6ee86f88309ed303517541fd7dce50d8039cfcdd /tools | |
parent | 2c522af748162fb69936b732825bc771e09e7256 (diff) | |
download | u-boot-e22596113a9b1fea2ac1da9cace9dff337fa1146.zip u-boot-e22596113a9b1fea2ac1da9cace9dff337fa1146.tar.gz u-boot-e22596113a9b1fea2ac1da9cace9dff337fa1146.tar.bz2 |
binman: Correct coverage gap in control
Add a pragma to deal with the code-coverage gap which drops binman down to
90% coverage.
Fixes: de65b122a25 (tools: Fall back to importlib_resources on Python 3.6)
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/binman/control.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/control.py b/tools/binman/control.py index 68597c4..7e2dd35 100644 --- a/tools/binman/control.py +++ b/tools/binman/control.py @@ -9,7 +9,7 @@ from collections import OrderedDict import glob try: import importlib.resources -except ImportError: +except ImportError: # pragma: no cover # for Python 3.6 import importlib_resources import os |