diff options
Diffstat (limited to 'sources/pyside6/tests/QtGui')
-rw-r--r-- | sources/pyside6/tests/QtGui/qicon_test.py | 2 | ||||
-rw-r--r-- | sources/pyside6/tests/QtGui/qrasterwindow_test.py | 2 | ||||
-rw-r--r-- | sources/pyside6/tests/QtGui/timed_app_and_patching_test.py | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sources/pyside6/tests/QtGui/qicon_test.py b/sources/pyside6/tests/QtGui/qicon_test.py index a7a1d6bf7..1387ff76b 100644 --- a/sources/pyside6/tests/QtGui/qicon_test.py +++ b/sources/pyside6/tests/QtGui/qicon_test.py @@ -45,7 +45,7 @@ class QIconCtorWithNoneTest(TimedQApplication): def testQIconCtorWithNone(self): icon = QIcon(None) pixmap = icon.pixmap(48, 48) - self.app.exec_() + self.app.exec() if __name__ == '__main__': diff --git a/sources/pyside6/tests/QtGui/qrasterwindow_test.py b/sources/pyside6/tests/QtGui/qrasterwindow_test.py index 03a8701f0..6bd5aadce 100644 --- a/sources/pyside6/tests/QtGui/qrasterwindow_test.py +++ b/sources/pyside6/tests/QtGui/qrasterwindow_test.py @@ -62,7 +62,7 @@ class QRasterWindowTest(UsesQApplication): rasterWindow.resize(QSize(400, 400)) rasterWindow.show() QTimer.singleShot(100, self.app.quit) - self.app.exec_() + self.app.exec() if __name__ == '__main__': diff --git a/sources/pyside6/tests/QtGui/timed_app_and_patching_test.py b/sources/pyside6/tests/QtGui/timed_app_and_patching_test.py index 4dcdea57b..74a2ed58e 100644 --- a/sources/pyside6/tests/QtGui/timed_app_and_patching_test.py +++ b/sources/pyside6/tests/QtGui/timed_app_and_patching_test.py @@ -46,7 +46,7 @@ class TestTimedApp(TimedQApplication): def testFoo(self): # Simple test of TimedQApplication - self.app.exec_() + self.app.exec() def fix_for_QtGui(QtGui): |