diff -r 0b936ff1bbb9 -r a2bc06a54d9d src/eric7/eric7_testing.py --- a/src/eric7/eric7_testing.py Sun Nov 06 11:22:39 2022 +0100 +++ b/src/eric7/eric7_testing.py Mon Nov 07 17:19:58 2022 +0100 @@ -15,6 +15,8 @@ import os import sys +from PyQt6.QtGui import QGuiApplication + for arg in sys.argv[:]: if arg.startswith("--config="): from eric7 import Globals @@ -36,6 +38,9 @@ from eric7.Globals import AppInfo from eric7.Toolbox import Startup +# make Python debug client available as a package repository (needed for 'coverage') +sys.path.insert(2, os.path.join(os.path.dirname(__file__), "DebugClients", "Python")) + def createMainWidget(argv): """ @@ -59,8 +64,6 @@ """ Main entry point into the application. """ - from PyQt6.QtGui import QGuiApplication - QGuiApplication.setDesktopFileName("eric7_testing.desktop") options = [