From 6d2af409eedee377b3c2ba0cd8156b9409fabd9d Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Thu, 29 Apr 2021 11:18:49 +0200 Subject: Tests: Fix some space-related flake8 warnings Change-Id: I9b0ad08839bf1246620c557ec304dfa90882907b Reviewed-by: Christian Tismer --- sources/pyside6/tests/QtWidgets/qapp_test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sources/pyside6/tests/QtWidgets/qapp_test.py') diff --git a/sources/pyside6/tests/QtWidgets/qapp_test.py b/sources/pyside6/tests/QtWidgets/qapp_test.py index 0455cdb61..dec6034f1 100644 --- a/sources/pyside6/tests/QtWidgets/qapp_test.py +++ b/sources/pyside6/tests/QtWidgets/qapp_test.py @@ -43,12 +43,14 @@ from PySide6.QtWidgets import QApplication class QAppPresence(unittest.TestCase): def testQApp(self): - #QtGui.qApp variable is instance of QApplication + # QtGui.qApp variable is instance of QApplication self.assertTrue(isinstance(qApp, QApplication)) + def main(): app = QApplication([]) unittest.main() + if __name__ == '__main__': main() -- cgit v1.2.3