diff options
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/objecttypebyvalue_test.py')
-rw-r--r-- | sources/shiboken2/tests/samplebinding/objecttypebyvalue_test.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sources/shiboken2/tests/samplebinding/objecttypebyvalue_test.py b/sources/shiboken2/tests/samplebinding/objecttypebyvalue_test.py index 31cbe29cc..080a51ce5 100644 --- a/sources/shiboken2/tests/samplebinding/objecttypebyvalue_test.py +++ b/sources/shiboken2/tests/samplebinding/objecttypebyvalue_test.py @@ -26,9 +26,17 @@ ## ############################################################################# -from sample import * +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 * + + class ObjectTypeByValueTest (unittest.TestCase): def testIt(self): factory = ObjectTypeByValue() |