From 9aa79997fc06fc7071a04753b54f790177b0e375 Mon Sep 17 00:00:00 2001 From: Jairo Llopis Date: Mon, 26 Sep 2016 15:27:35 +0200 Subject: [PATCH] Avoid coverage errors on an ImportError that will never happen in bots. --- account_financial_report_qweb/report/abstract_report_xlsx.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_financial_report_qweb/report/abstract_report_xlsx.py b/account_financial_report_qweb/report/abstract_report_xlsx.py index d432f92f..6384367f 100644 --- a/account_financial_report_qweb/report/abstract_report_xlsx.py +++ b/account_financial_report_qweb/report/abstract_report_xlsx.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). try: import xlsxwriter -except ImportError: +except ImportError: # pragma: no cover import logging _logger = logging.getLogger(__name__) _logger.info("Missing dependency: xlsxwriter.")