aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/otherbinding/module_reload_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/otherbinding/module_reload_test.py')
-rw-r--r--sources/shiboken2/tests/otherbinding/module_reload_test.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/otherbinding/module_reload_test.py b/sources/shiboken2/tests/otherbinding/module_reload_test.py
index 0010130f9..368425cd0 100644
--- a/sources/shiboken2/tests/otherbinding/module_reload_test.py
+++ b/sources/shiboken2/tests/otherbinding/module_reload_test.py
@@ -30,10 +30,14 @@
#############################################################################
import os
-import sys
import shutil
+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 py3kcompat import IS_PY3K
if IS_PY3K: