From a37b5e7fb9aa017524627c9dc287b62f28136aa7 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 1 Dec 2021 15:00:00 +0100 Subject: tests: Use QGuiApplication where applicable Pick-to: 6.2 Change-Id: I9401fa0721ea6e3df413c5a9fccb5e802d57295d Reviewed-by: Qt CI Bot Reviewed-by: Cristian Maureira-Fredes --- sources/pyside6/tests/QtQml/javascript_exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sources/pyside6/tests/QtQml/javascript_exceptions.py') diff --git a/sources/pyside6/tests/QtQml/javascript_exceptions.py b/sources/pyside6/tests/QtQml/javascript_exceptions.py index fe2518487..ce5fcf3b3 100644 --- a/sources/pyside6/tests/QtQml/javascript_exceptions.py +++ b/sources/pyside6/tests/QtQml/javascript_exceptions.py @@ -36,7 +36,7 @@ from init_paths import init_test_paths init_test_paths(False) from helper.helper import quickview_errorstring -from helper.usesqapplication import UsesQApplication +from helper.usesqguiapplication import UsesQGuiApplication from PySide6.QtCore import Slot, Property, Signal, QObject, QUrl from PySide6.QtQml import QJSEngine, qmlRegisterType @@ -79,7 +79,7 @@ class TestClass(QObject): test_2 = True -class JavaScriptExceptionsTest(UsesQApplication): +class JavaScriptExceptionsTest(UsesQGuiApplication): def test_jsengine(self): engine = QJSEngine() test_object = TestClass() -- cgit v1.2.3