aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/qenum_test.py
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.lima@openbossa.org>2010-06-03 15:34:17 -0300
committerHugo Parente Lima <hugo.lima@openbossa.org>2010-06-10 14:57:41 -0300
commite39bfefde9edda662f51eeaf9a482f209c7f1217 (patch)
treea4add52f8ca3460fcaed99c6d9c7fc810f341a49 /tests/QtCore/qenum_test.py
parent24a944590663582df72aefd1929ec19ba3c6414f (diff)
Remove wrapper for classes: QString, QStringRef, QLatin1String, QStringMatcher, QChar and QLatin1Char.
Diffstat (limited to 'tests/QtCore/qenum_test.py')
-rw-r--r--tests/QtCore/qenum_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtCore/qenum_test.py b/tests/QtCore/qenum_test.py
index e3f963869..d896ae65a 100644
--- a/tests/QtCore/qenum_test.py
+++ b/tests/QtCore/qenum_test.py
@@ -3,7 +3,7 @@
import unittest
-from PySide.QtCore import QIODevice, QString, Qt, QVariant
+from PySide.QtCore import *
class TestEnum(unittest.TestCase):
@@ -18,7 +18,7 @@ class TestEnum(unittest.TestCase):
self.assertEqual(QIODevice.Unbuffered, 32)
def testToIntInFunction(self):
- self.assertEqual(QString.number(QIODevice.WriteOnly), "2")
+ self.assertEqual(str(int(QIODevice.WriteOnly)), "2")
class TestQFlags(unittest.TestCase):
def testToItn(self):