mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
binman: Correct coverage gap in control
Add a pragma to deal with the code-coverage gap which drops binman down to
90% coverage.
Fixes: de65b122a2
(tools: Fall back to importlib_resources on Python 3.6)
Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
2c522af748
commit
e22596113a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue