aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/manually/bug_841.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/manually/bug_841.py')
-rw-r--r--sources/pyside6/tests/manually/bug_841.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/tests/manually/bug_841.py b/sources/pyside6/tests/manually/bug_841.py
index 6f2b4902f..44edac83c 100644
--- a/sources/pyside6/tests/manually/bug_841.py
+++ b/sources/pyside6/tests/manually/bug_841.py
@@ -33,7 +33,7 @@ from PySide6.QtWidgets import QMainWindow, QTreeView, QAbstractItemView, QApplic
class Item(QStandardItem):
def __init__(self, text):
- super(Item, self).__init__()
+ super().__init__()
self.setText(text)
self.setDragEnabled(True)
self.setDropEnabled(True)
@@ -44,7 +44,7 @@ class Item(QStandardItem):
class Project(QStandardItemModel):
def __init__(self):
- super(Project, self).__init__()
+ super().__init__()
self.setItemPrototype(Item("Prototype"))
# add some items so we have stuff to move around
self.appendRow(Item("ABC"))
@@ -53,7 +53,7 @@ class Project(QStandardItemModel):
class MainWindow(QMainWindow):
def __init__(self):
- super(MainWindow, self).__init__()
+ super().__init__()
self.model = Project()
self.view = QTreeView(self)