diff options
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/return_null_test.py')
-rw-r--r-- | sources/shiboken2/tests/samplebinding/return_null_test.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/samplebinding/return_null_test.py b/sources/shiboken2/tests/samplebinding/return_null_test.py index 15abb8b02..85764679b 100644 --- a/sources/shiboken2/tests/samplebinding/return_null_test.py +++ b/sources/shiboken2/tests/samplebinding/return_null_test.py @@ -31,9 +31,14 @@ '''Test case for functions that could return a NULL pointer.''' +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 returnNullPrimitivePointer, returnNullValueTypePointer, returnNullObjectTypePointer class ReturnNullTest(unittest.TestCase): |