diff options
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/array_numpy_test.py')
-rw-r--r-- | sources/shiboken2/tests/samplebinding/array_numpy_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/samplebinding/array_numpy_test.py b/sources/shiboken2/tests/samplebinding/array_numpy_test.py index 37536930d..2c2a2852a 100644 --- a/sources/shiboken2/tests/samplebinding/array_numpy_test.py +++ b/sources/shiboken2/tests/samplebinding/array_numpy_test.py @@ -30,7 +30,13 @@ '''Test case for NumPy Array types.''' +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() import sample hasNumPy = False |