aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtCore/qobject_inherits_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtCore/qobject_inherits_test.py')
-rw-r--r--sources/pyside6/tests/QtCore/qobject_inherits_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtCore/qobject_inherits_test.py b/sources/pyside6/tests/QtCore/qobject_inherits_test.py
index 0d0b0d174..252b3e024 100644
--- a/sources/pyside6/tests/QtCore/qobject_inherits_test.py
+++ b/sources/pyside6/tests/QtCore/qobject_inherits_test.py
@@ -81,7 +81,7 @@ class InheritsCase(unittest.TestCase):
class DerivedObject(QObject):
def __init__(self):
self.member = 'member'
- QObject.__init__(self)
+ super().__init__()
obj0 = DerivedObject()
# The second instantiation of DerivedObject will generate an exception
# that will not come to surface immediately.