Updated QtCore modue to works with python 2.x and 3.x

This commit is contained in:
Renato Filho 2011-10-06 11:36:24 -03:00 • committed by Hugo Parente Lima
commit edaefbce48
8 changed files with 25 additions and 23 deletions

View file

@ -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)