diff options
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/pointerholder_test.py')
-rw-r--r-- | sources/shiboken2/tests/samplebinding/pointerholder_test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/samplebinding/pointerholder_test.py b/sources/shiboken2/tests/samplebinding/pointerholder_test.py index e427e0435..b79eaa33a 100644 --- a/sources/shiboken2/tests/samplebinding/pointerholder_test.py +++ b/sources/shiboken2/tests/samplebinding/pointerholder_test.py @@ -31,9 +31,14 @@ '''Test cases for a class that holds an arbitraty pointer and is modified to hold an PyObject.''' +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 PointerHolder class TestPointerHolder(unittest.TestCase): |