aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/tests/samplebinding/enum_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/tests/samplebinding/enum_test.py')
-rw-r--r--sources/shiboken2/tests/samplebinding/enum_test.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sources/shiboken2/tests/samplebinding/enum_test.py b/sources/shiboken2/tests/samplebinding/enum_test.py
index c8a3d30f1..0beb72033 100644
--- a/sources/shiboken2/tests/samplebinding/enum_test.py
+++ b/sources/shiboken2/tests/samplebinding/enum_test.py
@@ -39,6 +39,9 @@ sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from shiboken_paths import init_paths
init_paths()
+import shiboken2
+# This is needed after the introduction of BUILD_DIR.
+
import sample
from sample import SampleNamespace, ObjectType, Event
from py3kcompat import IS_PY3K, b