Excluded from coverage the fatal case case when python-yaml isn't installed.

This commit is contained in:
Salvador E. Tropea 2020-05-26 12:43:14 -03:00
parent 53be46e1fe
commit bb6bae95a2
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ logger = log.get_logger(__name__)
try:
import yaml
except ImportError:
except ImportError: # pragma: no cover
log.init(False, False)
logger.error('No yaml module for Python, install python3-yaml')
sys.exit(misc.NO_YAML_MODULE)