Skip to content

Commit

Permalink
binman: Correct coverage gap in control
Browse files Browse the repository at this point in the history
Add a pragma to deal with the code-coverage gap which drops binman down to
90% coverage.

Fixes: de65b12 (tools: Fall back to importlib_resources on Python 3.6)

Signed-off-by: Simon Glass <[email protected]>
  • Loading branch information
sjg20 authored and trini committed Jul 14, 2023
1 parent 2c522af commit e225961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/binman/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import glob
try:
import importlib.resources
except ImportError:
except ImportError: # pragma: no cover
# for Python 3.6
import importlib_resources
import os
Expand Down

0 comments on commit e225961

Please sign in to comment.