Avoid coverage errors on an ImportError that will never happen in bots.

pull/229/head
Jairo Llopis 2016-09-26 15:27:35 +02:00 committed by GitHub
parent 7eb797ab15
commit 9aa79997fc
1 changed files with 1 additions and 1 deletions

View File

@ -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.")