From da94eb3f572c0e05753c070e2360c7eb05db2b55 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Wed, 20 May 2020 09:24:59 -0300 Subject: [PATCH] Excluded from coverage the test for pcbnew import --- kiplot/kiplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiplot/kiplot.py b/kiplot/kiplot.py index bc2da771..56709f0d 100644 --- a/kiplot/kiplot.py +++ b/kiplot/kiplot.py @@ -24,7 +24,7 @@ logger = log.get_logger(__name__) try: import pcbnew from pcbnew import GERBER_JOBFILE_WRITER -except ImportError: +except ImportError: # pragma: no cover log.init(False, False) logger.error("Failed to import pcbnew Python module." " Is KiCad installed?"