aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/qobject_test.py
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2011-10-06 11:36:24 -0300
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:56:11 -0300
commitedaefbce481634b2f9d5a6e28c2e73db7f958602 (patch)
tree489c4169928d8e688cff79f80e564e93bad9a57f /tests/QtCore/qobject_test.py
parent75843bf45a494c37168ff2ee5672490ca1dee9cf (diff)
Updated QtCore modue to works with python 2.x and 3.x
Diffstat (limited to 'tests/QtCore/qobject_test.py')
-rw-r--r--tests/QtCore/qobject_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtCore/qobject_test.py b/tests/QtCore/qobject_test.py
index 91d6586fe..492fc916f 100644
--- a/tests/QtCore/qobject_test.py
+++ b/tests/QtCore/qobject_test.py
@@ -32,7 +32,7 @@ class ObjectNameCase(unittest.TestCase):
self.assertEqual('', obj.objectName())
def testUnicode(self):
- name = py3k.unicode('diseño')
+ name = py3k.unicode_('não')
#FIXME Strange error on upstream when using equal(name, obj)
obj = QObject()
obj.setObjectName(name)