diff options
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_854.py')
-rw-r--r-- | sources/pyside2/tests/QtWidgets/bug_854.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_854.py b/sources/pyside2/tests/QtWidgets/bug_854.py index 080faf3c5..acfa1c270 100644 --- a/sources/pyside2/tests/QtWidgets/bug_854.py +++ b/sources/pyside2/tests/QtWidgets/bug_854.py @@ -26,11 +26,18 @@ ## ############################################################################# +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.QtWidgets import QTableView, QVBoxLayout, QApplication from PySide2.QtCore import QAbstractItemModel -from helper import UsesQApplication -import unittest +from helper.usesqapplication import UsesQApplication class VirtualList(QAbstractItemModel): |