diff options
Diffstat (limited to 'sources/pyside2/tests/QtWidgets/bug_640.py')
-rw-r--r-- | sources/pyside2/tests/QtWidgets/bug_640.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtWidgets/bug_640.py b/sources/pyside2/tests/QtWidgets/bug_640.py index 9e63a1d7f..13d98aa47 100644 --- a/sources/pyside2/tests/QtWidgets/bug_640.py +++ b/sources/pyside2/tests/QtWidgets/bug_640.py @@ -26,10 +26,17 @@ ## ############################################################################# +import os import sys -from PySide2.QtWidgets import * 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 * + + class Bug640(unittest.TestCase): def testIt(self): option = QStyleOptionGraphicsItem() |