aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_793.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_793.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_793.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_793.py b/sources/pyside6/tests/QtWidgets/bug_793.py
index 0741617d6..08c060f15 100644
--- a/sources/pyside6/tests/QtWidgets/bug_793.py
+++ b/sources/pyside6/tests/QtWidgets/bug_793.py
@@ -40,17 +40,17 @@ from PySide6.QtWidgets import QWidget, QApplication
class TestW1(QWidget):
def __init__(self, parent = None):
- super(TestW1, self).__init__(parent)
+ super().__init__(parent)
TestW2(parent, self)
class TestW2(QWidget):
def __init__(self, ancestor, parent = None):
- super(TestW2, self).__init__(parent)
+ super().__init__(parent)
self.ancestor_ref = ancestor
class Test(QWidget):
def __init__(self):
- super(Test, self).__init__()
+ super().__init__()
TestW1(self)
class TestQApplicationDestrcutor(unittest.TestCase):