Excluded from coverage an internal error.

Is code that gets executed only if we are in the middle of an
implementation.
This commit is contained in:
Salvador E. Tropea 2020-05-26 14:52:54 -03:00
parent 9f60eca419
commit 6c5c33be12
1 changed files with 3 additions and 2 deletions

View File

@ -453,8 +453,9 @@ class OutputOptions(object):
self.type_options = SchPrintOptions()
elif otype == self.PDF_PCB_PRINT:
self.type_options = PcbPrintOptions()
else:
self.type_options = None
else: # pragma: no cover
# If we get here it means the above if is incomplete
raise KiPlotConfigurationError("Output options not implemented for "+otype)
def validate(self):