diff options
Diffstat (limited to 'sources/pyside2/tests/QtCore/qobject_parent_test.py')
-rw-r--r-- | sources/pyside2/tests/QtCore/qobject_parent_test.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sources/pyside2/tests/QtCore/qobject_parent_test.py b/sources/pyside2/tests/QtCore/qobject_parent_test.py index 85b709137..7e98100a1 100644 --- a/sources/pyside2/tests/QtCore/qobject_parent_test.py +++ b/sources/pyside2/tests/QtCore/qobject_parent_test.py @@ -28,8 +28,14 @@ '''Test cases for parent-child relationship''' -import unittest +import os +import sys from sys import getrefcount +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 * |