diff options
Diffstat (limited to 'sources/pyside6/tests/QtQml/connect_python_qml.py')
-rw-r--r-- | sources/pyside6/tests/QtQml/connect_python_qml.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtQml/connect_python_qml.py b/sources/pyside6/tests/QtQml/connect_python_qml.py index f0df1c83d..2e60aec4f 100644 --- a/sources/pyside6/tests/QtQml/connect_python_qml.py +++ b/sources/pyside6/tests/QtQml/connect_python_qml.py @@ -42,7 +42,8 @@ class TestConnectionWithInvalidSignature(TimedQGuiApplication): root = view.rootObject() self.assertTrue(root, quickview_errorstring(view)) button = root.findChild(QObject, "buttonMouseArea") - self.assertRaises(TypeError, QObject.connect, [button,SIGNAL('entered()'), self.onButtonFailClicked]) + self.assertRaises(TypeError, QObject.connect, + [button, SIGNAL('entered()'), self.onButtonFailClicked]) button.entered.connect(self.onButtonClicked) button.entered.emit() view.show() |