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:
parent
9f60eca419
commit
6c5c33be12
|
|
@ -453,8 +453,9 @@ class OutputOptions(object):
|
||||||
self.type_options = SchPrintOptions()
|
self.type_options = SchPrintOptions()
|
||||||
elif otype == self.PDF_PCB_PRINT:
|
elif otype == self.PDF_PCB_PRINT:
|
||||||
self.type_options = PcbPrintOptions()
|
self.type_options = PcbPrintOptions()
|
||||||
else:
|
else: # pragma: no cover
|
||||||
self.type_options = None
|
# If we get here it means the above if is incomplete
|
||||||
|
raise KiPlotConfigurationError("Output options not implemented for "+otype)
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue