git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c522af
)
binman: Correct coverage gap in control
author
Simon Glass
<sjg@chromium.org>
Thu, 1 Jun 2023 16:22:25 +0000
(10:22 -0600)
committer
Tom Rini
<trini@konsulko.com>
Fri, 14 Jul 2023 16:54:50 +0000
(12:54 -0400)
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>
tools/binman/control.py
patch
|
blob
|
history
diff --git
a/tools/binman/control.py
b/tools/binman/control.py
index
68597c4
..
7e2dd35
100644
(file)
--- 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