diff options
Diffstat (limited to 'sources/shiboken2/tests/otherbinding/usersprimitivefromothermodule_test.py')
-rw-r--r--[-rwxr-xr-x] | sources/shiboken2/tests/otherbinding/usersprimitivefromothermodule_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/otherbinding/usersprimitivefromothermodule_test.py b/sources/shiboken2/tests/otherbinding/usersprimitivefromothermodule_test.py index fe13cf601..a69ee23f0 100755..100644 --- a/sources/shiboken2/tests/otherbinding/usersprimitivefromothermodule_test.py +++ b/sources/shiboken2/tests/otherbinding/usersprimitivefromothermodule_test.py @@ -31,7 +31,13 @@ '''Tests user defined primitive type from a required module.''' +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 other import Number class UserDefinedPrimitiveTypeFromRequiredModuleTest(unittest.TestCase): |