mirror of https://github.com/KLayout/klayout.git
Fixed unit tests in non-Qt case
This commit is contained in:
parent
4b4556d396
commit
d79dfec255
|
|
@ -517,6 +517,10 @@ class LAYLayoutView_TestClass < TestBase
|
||||||
# issue-1242
|
# issue-1242
|
||||||
def test_6
|
def test_6
|
||||||
|
|
||||||
|
if !RBA.constants.member?(:MainWindow)
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
# Create a new layout
|
# Create a new layout
|
||||||
main_window = RBA::MainWindow.instance()
|
main_window = RBA::MainWindow.instance()
|
||||||
main_window.close_all
|
main_window.close_all
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue