summaryrefslogtreecommitdiffstats
path: root/tests/QtDeclarative/qdeclarativeview_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtDeclarative/qdeclarativeview_test.py')
-rw-r--r--tests/QtDeclarative/qdeclarativeview_test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/QtDeclarative/qdeclarativeview_test.py b/tests/QtDeclarative/qdeclarativeview_test.py
index 8101c5f..7a2b657 100644
--- a/tests/QtDeclarative/qdeclarativeview_test.py
+++ b/tests/QtDeclarative/qdeclarativeview_test.py
@@ -2,8 +2,7 @@
import unittest
-from PySide.QtCore import QUrl, QStringList, QVariant
-from PySide.QtGui import QPushButton
+from PySide.QtCore import QUrl
from PySide.QtDeclarative import QDeclarativeView
from helper import adjust_filename, TimedQApplication
@@ -14,7 +13,7 @@ class TestQDeclarativeView(TimedQApplication):
def testQDeclarativeViewList(self):
view = QDeclarativeView()
- dataList = QStringList(["Item 1", "Item 2", "Item 3", "Item 4"])
+ dataList = ["Item 1", "Item 2", "Item 3", "Item 4"]
ctxt = view.rootContext()
ctxt.setContextProperty("myModel", dataList)