From: Simon Glass Date: Thu, 1 Jun 2023 16:22:25 +0000 (-0600) Subject: binman: Correct coverage gap in control X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e22596113a9b1fea2ac1da9cace9dff337fa1146;p=u-boot.git 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 --- diff --git a/tools/binman/control.py b/tools/binman/control.py index 68597c4e77..7e2dd3541b 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