summaryrefslogtreecommitdiffstats
path: root/tests/QtDeclarative/registertype.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtDeclarative/registertype.py')
-rw-r--r--tests/QtDeclarative/registertype.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtDeclarative/registertype.py b/tests/QtDeclarative/registertype.py
index 434dac1..c752ebf 100644
--- a/tests/QtDeclarative/registertype.py
+++ b/tests/QtDeclarative/registertype.py
@@ -50,7 +50,7 @@ class PieChart (QDeclarativeItem):
def __init__(self, parent = None):
QDeclarativeItem.__init__(self, parent)
- self._name = u''
+ self._name = ''
self._slices = []
def getName(self):
@@ -59,7 +59,7 @@ class PieChart (QDeclarativeItem):
def setName(self, value):
self._name = value
- name = Property(unicode, getName, setName)
+ name = Property(str, getName, setName)
def appendSlice(self, _slice):
global appendCalled