Excluded from coverage the test for pcbnew import

This commit is contained in:
Salvador E. Tropea 2020-05-20 09:24:59 -03:00
parent 1459f7255a
commit da94eb3f57
1 changed files with 1 additions and 1 deletions

View File

@ -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?"