mirror of https://github.com/KLayout/klayout.git
Fixed unit tests.
This commit is contained in:
parent
9ec6b44c93
commit
0bed4615aa
|
|
@ -2286,7 +2286,7 @@ CODE
|
|||
# @synopsis layer.is_deep?
|
||||
|
||||
def is_deep?
|
||||
@data.is_deep?
|
||||
@data.respond_to?(:is_deep?) && @data.is_deep?
|
||||
end
|
||||
|
||||
# %DRC%
|
||||
|
|
@ -4863,7 +4863,7 @@ CODE
|
|||
# make sure the output has the right database unit
|
||||
output.dbu = self.dbu
|
||||
|
||||
if data.is_deep?
|
||||
if data.respond_to?(:is_deep?) && data.is_deep?
|
||||
|
||||
# mark the layer as used
|
||||
if !@used_output_layers[li]
|
||||
|
|
|
|||
Loading…
Reference in New Issue