diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-29 11:18:49 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-04-29 15:56:58 +0200 |
commit | 6d2af409eedee377b3c2ba0cd8156b9409fabd9d (patch) | |
tree | 660f8fd87f77c1030cf97cc65345b9a941a321e4 /sources/pyside6/tests/QtUiTools/bug_909.py | |
parent | 88fff87519e741a3a999b8c1545834d116859faa (diff) |
Tests: Fix some space-related flake8 warnings
Change-Id: I9b0ad08839bf1246620c557ec304dfa90882907b
Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/pyside6/tests/QtUiTools/bug_909.py')
-rw-r--r-- | sources/pyside6/tests/QtUiTools/bug_909.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sources/pyside6/tests/QtUiTools/bug_909.py b/sources/pyside6/tests/QtUiTools/bug_909.py index ce963f31f..96e1d1fa8 100644 --- a/sources/pyside6/tests/QtUiTools/bug_909.py +++ b/sources/pyside6/tests/QtUiTools/bug_909.py @@ -41,6 +41,7 @@ from PySide6.QtUiTools import QUiLoader from helper.usesqapplication import UsesQApplication + class TestDestruction(UsesQApplication): def testBug909(self): file = Path(__file__).resolve().parent / 'bug_909.ui' @@ -55,5 +56,6 @@ class TestDestruction(UsesQApplication): main_win.setCentralWidget(tw) main_win.show() + if __name__ == '__main__': unittest.main() |