def METHOD_NAME():  # pragma: no cover
    print("start_test_import")
    from qtpy.QtWidgets import QApplication
    app = QApplication([])
    import freetype
    import napari
    from napari_console.qt_console import QtConsole
    from PartSeg import plugins
    from PartSeg._launcher.main_window import MainWindow
    from PartSeg._roi_analysis.main_window import MainWindow as AnalysisMain
    from PartSeg._roi_mask.main_window import MainWindow as MaskMain
    from PartSeg.common_backend.base_argparser import _setup_sentry
    from PartSeg.plugins import napari_widgets
    from PartSegCore import napari_plugins
    if "BorderSmooth" not in dir(napari_widgets):
        raise ImportError("napari_widgets not loaded")
    if "load_image" not in dir(napari_plugins):
        raise ImportError("napari_plugins not loaded")
    with suppress(ImportError):
        from napari.qt import get_app
        get_app()
    _setup_sentry()
    freetype.get_handle()
    plugins.register()
    w1 = AnalysisMain("test")
    w2 = MaskMain("test")
    w3 = MainWindow("test")
    console = QtConsole(napari.Viewer())
    del w1
    del w2
    del w3
    del app
    del console
    print("end_test_import")