aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtWidgets/bug_467.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-29 11:18:49 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2021-04-29 15:56:58 +0200
commit6d2af409eedee377b3c2ba0cd8156b9409fabd9d (patch)
tree660f8fd87f77c1030cf97cc65345b9a941a321e4 /sources/pyside6/tests/QtWidgets/bug_467.py
parent88fff87519e741a3a999b8c1545834d116859faa (diff)
Tests: Fix some space-related flake8 warnings
Change-Id: I9b0ad08839bf1246620c557ec304dfa90882907b Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/tests/QtWidgets/bug_467.py')
-rw-r--r--sources/pyside6/tests/QtWidgets/bug_467.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtWidgets/bug_467.py b/sources/pyside6/tests/QtWidgets/bug_467.py
index d3bc98230..eaa2696d2 100644
--- a/sources/pyside6/tests/QtWidgets/bug_467.py
+++ b/sources/pyside6/tests/QtWidgets/bug_467.py
@@ -40,8 +40,9 @@ init_test_paths(False)
from helper.usesqapplication import UsesQApplication
from PySide6.QtWidgets import QMainWindow, QApplication
+
class MyWidget(QMainWindow):
- def __init__(self, parent = None):
+ def __init__(self, parent=None):
QMainWindow.__init__(self, parent)
@@ -51,5 +52,6 @@ class BugTest(UsesQApplication):
widgets = QApplication.allWidgets()
self.assertTrue(w in widgets)
+
if __name__ == '__main__':
unittest.main()