aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/pysidetest/bug_1016.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/pysidetest/bug_1016.py')
-rw-r--r--sources/pyside2/tests/pysidetest/bug_1016.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/sources/pyside2/tests/pysidetest/bug_1016.py b/sources/pyside2/tests/pysidetest/bug_1016.py
index c2b709333..9f035e0e1 100644
--- a/sources/pyside2/tests/pysidetest/bug_1016.py
+++ b/sources/pyside2/tests/pysidetest/bug_1016.py
@@ -26,9 +26,17 @@
##
#############################################################################
-from testbinding import *
+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(True)
+
+import shiboken2
+from testbinding import *
+
class TestBug1016 (unittest.TestCase):
def testIt(self):