aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/signals/ref02_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/signals/ref02_test.py')
-rw-r--r--sources/pyside6/tests/signals/ref02_test.py11
1 files changed, 5 insertions, 6 deletions
diff --git a/sources/pyside6/tests/signals/ref02_test.py b/sources/pyside6/tests/signals/ref02_test.py
index db456b35b..54b6f4a52 100644
--- a/sources/pyside6/tests/signals/ref02_test.py
+++ b/sources/pyside6/tests/signals/ref02_test.py
@@ -12,14 +12,14 @@ sys.path.append(os.fspath(Path(__file__).resolve().parents[1]))
from init_paths import init_test_paths
init_test_paths(False)
-from PySide6.QtCore import QCoreApplication, QTimeLine
-from helper.usesqcoreapplication import UsesQCoreApplication
+from PySide6.QtCore import QTimeLine
+from helper.usesqapplication import UsesQApplication
-class NativeSignalsTest(UsesQCoreApplication):
+class NativeSignalsTest(UsesQApplication):
def setUp(self):
- UsesQCoreApplication.setUp(self)
+ UsesQApplication.setUp(self)
self.called = False
self.timeline = QTimeLine(100)
@@ -28,7 +28,7 @@ class NativeSignalsTest(UsesQCoreApplication):
del self.timeline
# PYSIDE-535: Need to collect garbage in PyPy to trigger deletion
gc.collect()
- UsesQCoreApplication.tearDown(self)
+ UsesQApplication.tearDown(self)
def testSignalWithIntArgument(self):
@@ -58,4 +58,3 @@ class NativeSignalsTest(UsesQCoreApplication):
if __name__ == '__main__':
unittest.main()
-