diff mbox series

[v3,01/19] binman: Correct coverage gap in control

Message ID 20230710024123.2078645-2-sjg@chromium.org
State Superseded
Delegated to: Simon Glass
Headers show
Series binman: Simple templating feature and mkimage conversion | expand

Commit Message

Simon Glass July 10, 2023, 2:40 a.m. UTC
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>
---

(no changes since v1)

 tools/binman/control.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/tools/binman/control.py b/tools/binman/control.py
index 68597c4e7792..7e2dd3541b96 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