Commit 07b70cfb authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[tests] Change super calls to parameter-less version

parent e6dd28ab
Pipeline #33292 passed with stage
in 13 minutes and 43 seconds
......@@ -91,9 +91,7 @@ class ParameterTypeTestDelegate(ParameterTypeDelegate):
def createEditor(self, parent, options, index):
"""Force commit to model on index change, otherwise testing won't work"""
combobox = super(ParameterTypeTestDelegate, self).createEditor(
parent, options, index
)
combobox = super().createEditor(parent, options, index)
combobox.currentIndexChanged.connect(lambda: self.commitData.emit(combobox))
return combobox
......
......@@ -42,7 +42,7 @@ class MockAssetEditor(AbstractAssetEditor):
"""
def __init__(self, parent=None):
super(MockAssetEditor, self).__init__(AssetType.UNKNOWN, parent)
super().__init__(AssetType.UNKNOWN, parent)
self.dataformat_model = None
self.add_field_button = QPushButton(self.tr("Add"))
self.layout().addWidget(self.add_field_button)
......
......@@ -42,7 +42,7 @@ class ChangeWidget(QWidget):
dataChanged = pyqtSignal()
def __init__(self, parent=None):
super(ChangeWidget, self).__init__(parent)
super().__init__(parent)
self._prefix_path = None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment