diff options
Diffstat (limited to 'sources/pyside6/tests/QtQml/signal_arguments.py')
-rw-r--r-- | sources/pyside6/tests/QtQml/signal_arguments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/pyside6/tests/QtQml/signal_arguments.py b/sources/pyside6/tests/QtQml/signal_arguments.py index 2848a4a6a..b44372743 100644 --- a/sources/pyside6/tests/QtQml/signal_arguments.py +++ b/sources/pyside6/tests/QtQml/signal_arguments.py @@ -68,7 +68,7 @@ class TestConnectionWithQml(TimedQApplication): context.setContextProperty("o", obj) file = Path(__file__).resolve().parent / 'signal_arguments.qml' self.assertTrue(file.is_file()) - view.setSource(QUrl.fromLocalFile(os.fspath(file))) + view.setSource(QUrl.fromLocalFile(file)) root = view.rootObject() self.assertTrue(root, quickview_errorstring(view)) button = root.findChild(QObject, "button") |