From 67a89317d6e9a1c20d9a8629f83b7ca1617ea94c Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Mon, 20 Apr 2020 13:59:52 +0100 Subject: [PATCH] Mark uncovered path in interface Improve the coverage numbers by marking an untested path as not having coverage. Signed-off-by: Joshua Lock --- securesystemslib/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/securesystemslib/interface.py b/securesystemslib/interface.py index c63d29089..38ed68a0d 100755 --- a/securesystemslib/interface.py +++ b/securesystemslib/interface.py @@ -55,7 +55,7 @@ from colorama import Fore TERM_RED = Fore.RED TERM_RESET = Fore.RESET -except ImportError: +except ImportError: # pragma: no cover logger.debug("Failed to find colorama module, terminal output won't be colored") TERM_RED = '' TERM_RESET = ''