diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2011-04-14 19:56:12 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:11 -0300 |
commit | ea5dd4f257f45b41984dd83640c6b7abf57a663d (patch) | |
tree | fc857931edb6dd83507731340e9e634cabb8edc2 /tests/QtCore/qbytearray_test.py | |
parent | e14378b1265d622a3ed82fbfe4e42fd0a4c0f0cd (diff) |
Fix bug 717 - "QByteArray doesn't honor \0 inside strings."
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'tests/QtCore/qbytearray_test.py')
-rw-r--r-- | tests/QtCore/qbytearray_test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/QtCore/qbytearray_test.py b/tests/QtCore/qbytearray_test.py index 330a7d09f..38ed2ab1c 100644 --- a/tests/QtCore/qbytearray_test.py +++ b/tests/QtCore/qbytearray_test.py @@ -152,7 +152,7 @@ class QByteArrayBug720(unittest.TestCase): def testIt(self): ba = QByteArray("32\"1\x00123") self.assertEqual(str(ba), "32\"1\x00123") - self.assertEqual(repr(ba), "PySide.QtCore.QByteArray(\"32\\\"1\x00123\")") + self.assertEqual(repr(ba), "PySide.QtCore.QByteArray('32\"1\\x00123')") if __name__ == '__main__': |