diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-12-17 15:30:18 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-12-17 19:16:56 -0200 |
commit | 3b61f88a1fe16d1abdbc9f35ccb14ad5544b4c5e (patch) | |
tree | fcfffdaaaea1ac56d37b0961a222a9f25899897a /tests/QtDeclarative/connect_python_qml.py | |
parent | 53e472c5ef5423d51d008e13b81b351af6f07bf9 (diff) | |
download | pyside-3b61f88a1fe16d1abdbc9f35ccb14ad5544b4c5e.tar.gz pyside-3b61f88a1fe16d1abdbc9f35ccb14ad5544b4c5e.tar.xz pyside-3b61f88a1fe16d1abdbc9f35ccb14ad5544b4c5e.zip |
Fix QML tests on Windows.
Diffstat (limited to 'tests/QtDeclarative/connect_python_qml.py')
-rw-r--r-- | tests/QtDeclarative/connect_python_qml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtDeclarative/connect_python_qml.py b/tests/QtDeclarative/connect_python_qml.py index bb50515..e8180f7 100644 --- a/tests/QtDeclarative/connect_python_qml.py +++ b/tests/QtDeclarative/connect_python_qml.py @@ -16,7 +16,7 @@ class TestConnectionWithInvalidSignature(TimedQApplication): self.buttonClicked = False self.buttonFailClicked = False view = QtDeclarative.QDeclarativeView() - view.setSource(QtCore.QUrl(adjust_filename('connect_python_qml.qml', __file__))) + view.setSource(QtCore.QUrl.fromLocalFile(adjust_filename('connect_python_qml.qml', __file__))) root = view.rootObject() button = root.findChild(QtCore.QObject, "buttonMouseArea") self.assertRaises(TypeError, QtCore.QObject.connect, [button,QtCore.SIGNAL('clicked()'), self.onButtonFailClicked]) |