diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-02-03 18:04:16 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:53:52 -0300 |
commit | 702cd168e1af7ef854aad7091529e4ce6e9df833 (patch) | |
tree | b00746d4576be00fc6fede0b27da3f69a05d7917 /tests/QtCore/qbytearray_test.py | |
parent | 4f4abdb2be8417ae5f75340e673341a833b9a14c (diff) |
Fix comparisson of QByteArray with Python strings that have zeroes inside.
Diffstat (limited to 'tests/QtCore/qbytearray_test.py')
-rw-r--r-- | tests/QtCore/qbytearray_test.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/QtCore/qbytearray_test.py b/tests/QtCore/qbytearray_test.py index f031332d9..396545f4e 100644 --- a/tests/QtCore/qbytearray_test.py +++ b/tests/QtCore/qbytearray_test.py @@ -49,6 +49,7 @@ class QByteArrayData(unittest.TestCase): ba = QByteArray(s1) s2 = ba.data() self.assertEqual(s1, s2) + self.assertEqual(s1, ba) class QByteArrayOperatorAtSetter(unittest.TestCase): '''Test case for operator QByteArray[] - __setitem__''' |