diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-28 12:21:41 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-28 15:08:05 +0200 |
commit | 6bb7b383701d25f3c7346a785d3cb2e916261ba3 (patch) | |
tree | 40f43b792486801a59dc459fce89dd69ac68018d /sources/pyside6/tests/QtPrintSupport | |
parent | b698cbfada554fca765673e0ba246e407dc79f3d (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/QtPrintSupport')
-rw-r--r-- | sources/pyside6/tests/QtPrintSupport/returnquadruplesofnumbers_test.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/tests/QtPrintSupport/returnquadruplesofnumbers_test.py b/sources/pyside6/tests/QtPrintSupport/returnquadruplesofnumbers_test.py index 2cb62d614..26b3cf7f8 100644 --- a/sources/pyside6/tests/QtPrintSupport/returnquadruplesofnumbers_test.py +++ b/sources/pyside6/tests/QtPrintSupport/returnquadruplesofnumbers_test.py @@ -43,15 +43,15 @@ from helper.usesqapplication import UsesQApplication class Layout(QLayout): def __init__(self): - QLayout.__init__(self) + super().__init__() class GraphicsLayout(QGraphicsLayout): def __init__(self): - QGraphicsLayout.__init__(self) + super().__init__() class GraphicsLayoutItem(QGraphicsLayoutItem): def __init__(self): - QGraphicsLayoutItem.__init__(self) + super().__init__() class ReturnsQuadruplesOfNumbers(UsesQApplication): def compareTuples(self, ta, tb): |