diff options
Diffstat (limited to 'sources/pyside2/tests/QtCore/bug_938.py')
-rw-r--r-- | sources/pyside2/tests/QtCore/bug_938.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtCore/bug_938.py b/sources/pyside2/tests/QtCore/bug_938.py index b23cbe2f2..98b894735 100644 --- a/sources/pyside2/tests/QtCore/bug_938.py +++ b/sources/pyside2/tests/QtCore/bug_938.py @@ -28,13 +28,14 @@ import unittest from PySide2.QtCore import * +import py3kcompat as py3k class TestBug938 (unittest.TestCase): def testIt(self): b = QBuffer() b.open(QBuffer.WriteOnly) - b.write("\x0023\x005") + b.write(py3k.b("\x0023\x005")) b.close() self.assertEqual(b.buffer().size(), 5) |