aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests
diff options
context:
space:
mode:
authorMaximilian Goldstein <max.goldstein@qt.io>2020-08-19 15:12:00 +0200
committerMaximilian Goldstein <max.goldstein@qt.io>2020-08-19 13:17:09 +0000
commit4c06abb87360205849b6abb243ecf58139b547b9 (patch)
tree3276201e9e16653e310440b0f6c806a37f7f2293 /sources/pyside2/tests
parentc629b254db791db99677cce8c80490ff47486e80 (diff)
Test/QtQml: Fix registertype.py
Change-Id: Ib82cac47882220c53f688e53c9cf6429b9fa138a Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/tests')
-rw-r--r--sources/pyside2/tests/QtQml/registertype.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtQml/registertype.py b/sources/pyside2/tests/QtQml/registertype.py
index 53425b1b6..526af178c 100644
--- a/sources/pyside2/tests/QtQml/registertype.py
+++ b/sources/pyside2/tests/QtQml/registertype.py
@@ -137,7 +137,7 @@ class TestQmlSupport(unittest.TestCase):
self.assertTrue(paintCalled)
# Check that the uncreatable item produces the correct error
- view.setSource(QUrl.fromLocalFile(helper.adjust_filename('registeruncreatable.qml', __file__)))
+ view.setSource(QUrl.fromLocalFile(adjust_filename('registeruncreatable.qml', __file__)))
self.assertEqual(view.status(), QQuickView.Error)
errorFound = False
for e in view.errors():