diff options
author | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-03 15:34:17 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.lima@openbossa.org> | 2010-06-10 14:57:41 -0300 |
commit | e39bfefde9edda662f51eeaf9a482f209c7f1217 (patch) | |
tree | a4add52f8ca3460fcaed99c6d9c7fc810f341a49 /tests/QtCore/translation_test.py | |
parent | 24a944590663582df72aefd1929ec19ba3c6414f (diff) |
Remove wrapper for classes: QString, QStringRef, QLatin1String, QStringMatcher, QChar and QLatin1Char.
Diffstat (limited to 'tests/QtCore/translation_test.py')
-rw-r--r-- | tests/QtCore/translation_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtCore/translation_test.py b/tests/QtCore/translation_test.py index 870c8c50f..6b75bee36 100644 --- a/tests/QtCore/translation_test.py +++ b/tests/QtCore/translation_test.py @@ -5,7 +5,7 @@ import os import unittest -from PySide.QtCore import QObject, QTranslator, QCoreApplication, QString +from PySide.QtCore import * from helper import UsesQCoreApplication @@ -54,7 +54,7 @@ class TranslationTest(UsesQCoreApplication): def testTranslateWithNoneDisambiguation(self): value = 'String here' obj = QCoreApplication.translate('context', value, None, QCoreApplication.UnicodeUTF8) - self.assert_(isinstance(obj, QString)) + self.assert_(isinstance(obj, unicode)) self.assertEqual(obj, value) if __name__ == '__main__': |