diff options
Diffstat (limited to 'sources/pyside6/tests/QtCore/qthread_test.py')
-rw-r--r-- | sources/pyside6/tests/QtCore/qthread_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/pyside6/tests/QtCore/qthread_test.py b/sources/pyside6/tests/QtCore/qthread_test.py index 25ef5d665..a08b0d777 100644 --- a/sources/pyside6/tests/QtCore/qthread_test.py +++ b/sources/pyside6/tests/QtCore/qthread_test.py @@ -97,7 +97,7 @@ class QThreadSimpleCase(UsesQCoreApplication): self._thread = obj QTimer.singleShot(1000, self.abort_application) - self.app.exec_() + self.app.exec() self.assertTrue(self.called) @@ -109,7 +109,7 @@ class QThreadSimpleCase(UsesQCoreApplication): self._thread = obj QTimer.singleShot(1000, self.abort_application) - self.app.exec_() + self.app.exec() self.assertEqual(obj.qobj.thread(), obj) # test QObject.thread() method self.assertTrue(self.called) |