aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/tests/QtQml/connect_python_qml.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-11-28 10:56:58 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-11-28 11:43:03 +0100
commitea5ce2e4080a99c43b9a330e34588fb1f25c7e45 (patch)
tree603f71391656bfde3690fe18b916cd4bf0ef2ad1 /sources/pyside6/tests/QtQml/connect_python_qml.py
parent3ad6f139ddd792b24e8c15c847f3e5db3eac3bf3 (diff)
Tests: Fix some flake warnings
Mostly spacing related. Pick-to: 6.6 Change-Id: I748a8a06f456c5d4bafb94c397c43b3b2ee9e3e9 Reviewed-by: Shyamnath Premnadh <Shyamnath.Premnadh@qt.io>
Diffstat (limited to 'sources/pyside6/tests/QtQml/connect_python_qml.py')
-rw-r--r--sources/pyside6/tests/QtQml/connect_python_qml.py3
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()