aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/otherbinding/conversion_operator_for_class_without_implicit_conversions_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/otherbinding/conversion_operator_for_class_without_implicit_conversions_test.py')
-rw-r--r--[-rwxr-xr-x]sources/shiboken2/tests/otherbinding/conversion_operator_for_class_without_implicit_conversions_test.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/otherbinding/conversion_operator_for_class_without_implicit_conversions_test.py b/sources/shiboken2/tests/otherbinding/conversion_operator_for_class_without_implicit_conversions_test.py
index 2aba4bd09..1e992ebc8 100755..100644
--- a/sources/shiboken2/tests/otherbinding/conversion_operator_for_class_without_implicit_conversions_test.py
+++ b/sources/shiboken2/tests/otherbinding/conversion_operator_for_class_without_implicit_conversions_test.py
@@ -33,8 +33,14 @@
being that the latter defines a new conversion operator for the former, and this one
has no implicit conversions.'''
+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 NoImplicitConversion
from other import ExtendsNoImplicitConversion