aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtUiTools
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/tests/QtUiTools')
-rw-r--r--sources/pyside6/tests/QtUiTools/bug_1060.py2
-rw-r--r--sources/pyside6/tests/QtUiTools/bug_552.py2
-rw-r--r--sources/pyside6/tests/QtUiTools/bug_797.py2
-rw-r--r--sources/pyside6/tests/QtUiTools/bug_958.py2
4 files changed, 4 insertions, 4 deletions
diff --git a/sources/pyside6/tests/QtUiTools/bug_1060.py b/sources/pyside6/tests/QtUiTools/bug_1060.py
index c247cf9fd..52624a2a9 100644
--- a/sources/pyside6/tests/QtUiTools/bug_1060.py
+++ b/sources/pyside6/tests/QtUiTools/bug_1060.py
@@ -27,6 +27,6 @@ if __name__ == "__main__":
app = QApplication([])
file = Path(__file__).resolve().parent / 'bug_1060.ui'
- assert(file.is_file())
+ assert (file.is_file())
ui = MyQUiLoader().load(file)
ui.show()
diff --git a/sources/pyside6/tests/QtUiTools/bug_552.py b/sources/pyside6/tests/QtUiTools/bug_552.py
index ce040f4fb..06a6b72a4 100644
--- a/sources/pyside6/tests/QtUiTools/bug_552.py
+++ b/sources/pyside6/tests/QtUiTools/bug_552.py
@@ -21,7 +21,7 @@ class View_1(QWidget):
super().__init__()
loader = QUiLoader()
file = Path(__file__).resolve().parent / 'bug_552.ui'
- assert(file.is_file())
+ assert (file.is_file())
widget = loader.load(os.fspath(file), self)
self.children = []
for child in widget.findChildren(QObject, None):
diff --git a/sources/pyside6/tests/QtUiTools/bug_797.py b/sources/pyside6/tests/QtUiTools/bug_797.py
index b87ca1293..3dae7afb7 100644
--- a/sources/pyside6/tests/QtUiTools/bug_797.py
+++ b/sources/pyside6/tests/QtUiTools/bug_797.py
@@ -18,7 +18,7 @@ from PySide6.QtWidgets import QApplication, QWidget
app = QApplication([])
loader = QUiLoader()
file = Path(__file__).resolve().parent / 'bug_552.ui'
-assert(file.is_file())
+assert (file.is_file())
file = QFile(file)
w = QWidget()
# An exception can't be thrown
diff --git a/sources/pyside6/tests/QtUiTools/bug_958.py b/sources/pyside6/tests/QtUiTools/bug_958.py
index 69f57b03e..2f8dfab62 100644
--- a/sources/pyside6/tests/QtUiTools/bug_958.py
+++ b/sources/pyside6/tests/QtUiTools/bug_958.py
@@ -23,7 +23,7 @@ class Gui_Qt(QMainWindow):
# this used to cause a segfault because the old inject code used to destroy the parent layout
file = Path(__file__).resolve().parent / 'bug_958.ui'
- assert(file.is_file())
+ assert (file.is_file())
self._cw = lLoader.load(file, self)
self.setCentralWidget(self._cw)