aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtCore/child_event_test.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-28 12:21:41 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-28 15:08:05 +0200
commit6bb7b383701d25f3c7346a785d3cb2e916261ba3 (patch)
tree40f43b792486801a59dc459fce89dd69ac68018d /sources/pyside6/tests/QtCore/child_event_test.py
parentb698cbfada554fca765673e0ba246e407dc79f3d (diff)
Tests: Use new form of super()
Change-Id: Id0a6c5e67f53623cc6d41ccc377218479931ee65 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtCore/child_event_test.py')
-rw-r--r--sources/pyside6/tests/QtCore/child_event_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtCore/child_event_test.py b/sources/pyside6/tests/QtCore/child_event_test.py
index 1172f6027..e7d7756f1 100644
--- a/sources/pyside6/tests/QtCore/child_event_test.py
+++ b/sources/pyside6/tests/QtCore/child_event_test.py
@@ -44,7 +44,7 @@ from helper.usesqcoreapplication import UsesQCoreApplication
class ExtQObject(QObject):
def __init__(self):
- QObject.__init__(self)
+ super().__init__()
self.child_event_received = False
def childEvent(self, event):
@@ -53,7 +53,7 @@ class ExtQObject(QObject):
class ExtQTimer(QTimer):
def __init__(self):
- QTimer.__init__(self)
+ super().__init__()
self.child_event_received = False
def childEvent(self, event):