Skip to content

Commit

Permalink
improve testing bundle procedure
Browse files Browse the repository at this point in the history
  • Loading branch information
Czaki committed Sep 3, 2024
1 parent 38d94bf commit 67f3fd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package/PartSeg/launcher_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,16 @@ def _test_imports(): # pragma: no cover
w1 = AnalysisMain("test")
w2 = MaskMain("test")
w3 = MainWindow("test")
console = QtConsole(napari.Viewer())
v = napari.Viewer()
console = QtConsole(v)
label = LabelChoose(w1.settings)
label.refresh()
v.close()
del label
del w1
del w2
del w3
del v
del app
del console
print("end_test_import")
Expand Down

0 comments on commit 67f3fd6

Please sign in to comment.