diff options
Diffstat (limited to 'sources/pyside2/tests/QtCore/qmodelindex_internalpointer_test.py')
-rw-r--r-- | sources/pyside2/tests/QtCore/qmodelindex_internalpointer_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/pyside2/tests/QtCore/qmodelindex_internalpointer_test.py b/sources/pyside2/tests/QtCore/qmodelindex_internalpointer_test.py index 770600ea3..83f9d8486 100644 --- a/sources/pyside2/tests/QtCore/qmodelindex_internalpointer_test.py +++ b/sources/pyside2/tests/QtCore/qmodelindex_internalpointer_test.py @@ -30,8 +30,14 @@ ''' Test case for QAbstractListModel.createIndex and QModelIndex.internalPointer''' +import os import sys import unittest + +sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) +from init_paths import init_test_paths +init_test_paths(False) + from PySide2.QtCore import * class MyModel (QAbstractListModel): |