Updated QtCore modue to works with python 2.x and 3.x
This commit is contained in:
parent
75843bf45a
commit
edaefbce48
8 changed files with 25 additions and 23 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue