aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtUiTools
diff options
authorCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2024-12-13 15:50:27 +0100
committerCristián Maureira-Fredes <Cristian.Maureira-Fredes@qt.io>2024-12-18 10:08:10 +0100
commit382a34586f73896d12063616eb8b31474c03f68a (patch)
treec33f9c01713fe2083351beade9d9536527712814 /sources/pyside6/tests/QtUiTools
parent03a3e61b0cce28c44b68b032cff2e6b8fa869477 (diff)
Remove unnecessary use of 'object' in class constructionremoteobjectsdev
Considering we are not compatible with Python 2 anymore, we can drop the 'object' explicit inheritance in the class declaration. Pick-to: 6.8 Change-Id: Iac3a95aa9721c3ff1a755f457c0936ca157a8470 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtUiTools')
-rw-r--r--sources/pyside6/tests/QtUiTools/bug_426.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtUiTools/bug_426.py b/sources/pyside6/tests/QtUiTools/bug_426.py
index 2f09afb73..d1dc7d9e3 100644
--- a/sources/pyside6/tests/QtUiTools/bug_426.py
+++ b/sources/pyside6/tests/QtUiTools/bug_426.py
@@ -16,7 +16,7 @@ from PySide6.QtWidgets import QApplication
from PySide6.QtUiTools import QUiLoader
-class Window(object):
+class Window:
def __init__(self):
loader = QUiLoader()
filePath = os.path.join(os.path.dirname(__file__), 'bug_426.ui')