diff options
Diffstat (limited to 'sources/pyside2/tests/QtCore/qbytearray_buffer_protocol_test.py')
-rw-r--r-- | sources/pyside2/tests/QtCore/qbytearray_buffer_protocol_test.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtCore/qbytearray_buffer_protocol_test.py b/sources/pyside2/tests/QtCore/qbytearray_buffer_protocol_test.py index 2ec6938bb..93527f9d7 100644 --- a/sources/pyside2/tests/QtCore/qbytearray_buffer_protocol_test.py +++ b/sources/pyside2/tests/QtCore/qbytearray_buffer_protocol_test.py @@ -31,10 +31,15 @@ '''Tests QByteArray implementation of Python buffer protocol''' +import os +from os.path import isdir +import sys import unittest + +sys.path.append(os.path.join(os.path.dirname(os.path.dirname(os.path.abspath(__file__))), "util")) + import py3kcompat as py3k -from os.path import isdir from PySide2.QtCore import QByteArray |