aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/samplebinding/nontypetemplate_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/nontypetemplate_test.py')
-rw-r--r--sources/shiboken2/tests/samplebinding/nontypetemplate_test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/samplebinding/nontypetemplate_test.py b/sources/shiboken2/tests/samplebinding/nontypetemplate_test.py
index a7a4da72b..7c4729b4f 100644
--- a/sources/shiboken2/tests/samplebinding/nontypetemplate_test.py
+++ b/sources/shiboken2/tests/samplebinding/nontypetemplate_test.py
@@ -36,8 +36,14 @@ try:
except ImportError:
pass
+import os
+import sys
import unittest
+sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
+from shiboken_paths import init_paths
+init_paths()
+
from sample import IntArray2, IntArray3
class NonTypeTemplateTest(unittest.TestCase):