aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtCore/qbytearray_operator_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtCore/qbytearray_operator_test.py')
-rw-r--r--tests/QtCore/qbytearray_operator_test.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/QtCore/qbytearray_operator_test.py b/tests/QtCore/qbytearray_operator_test.py
index 4a20c04c5..662bc6e0c 100644
--- a/tests/QtCore/qbytearray_operator_test.py
+++ b/tests/QtCore/qbytearray_operator_test.py
@@ -4,7 +4,7 @@
import unittest
-from PySide.QtCore import QByteArray, QString
+from PySide.QtCore import *
class QByteArrayOperatorEqual(unittest.TestCase):
'''TestCase for operator QByteArray == QByteArray'''
@@ -26,9 +26,9 @@ class QByteArrayOperatorEqual(unittest.TestCase):
self.assertEqual(QByteArray(string), string)
def testQString(self):
- #QByteArray(string) == QString(string)
+ #QByteArray(string) == string
string = 'another test string'
- self.assertEqual(QByteArray(string), QString(string))
+ self.assertEqual(QByteArray(string), string)
class QByteArrayOperatorAt(unittest.TestCase):
'''TestCase for operator QByteArray[]'''