diff options
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_785.py')
-rw-r--r-- | sources/pyside2/tests/QtWidgets/bug_785.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_785.py b/sources/pyside2/tests/QtWidgets/bug_785.py index 312b17996..ba18a99a1 100644 --- a/sources/pyside2/tests/QtWidgets/bug_785.py +++ b/sources/pyside2/tests/QtWidgets/bug_785.py @@ -26,9 +26,14 @@ ## ############################################################################# +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 QItemSelection from PySide2.QtGui import QStandardItemModel, QStandardItem from PySide2.QtWidgets import QApplication |