From e39bfefde9edda662f51eeaf9a482f209c7f1217 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 3 Jun 2010 15:34:17 -0300 Subject: Remove wrapper for classes: QString, QStringRef, QLatin1String, QStringMatcher, QChar and QLatin1Char. --- tests/QtCore/translation_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/QtCore/translation_test.py') 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__': -- cgit v1.2.3