Remove wrapper for classes: QString, QStringRef, QLatin1String, QStringMatcher, QChar and QLatin1Char.
This commit is contained in:
parent
24a9445906
commit
e39bfefde9
32 changed files with 187 additions and 1189 deletions
|
|
@ -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__':
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue