From 320156508583df214b9f78447125eaf0bcbf6dca Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 4 Dec 2015 22:26:26 +0100 Subject: [PATCH] Add path to test_python.py file to system path so that import statements also work for absolute imports that are used as standard in Python 3. --- test/test_python.py | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/test/test_python.py b/test/test_python.py index c0420b7..d3e734b 100755 --- a/test/test_python.py +++ b/test/test_python.py @@ -21,6 +21,7 @@ import gammalib import sys import os +sys.path.append(os.path.dirname(os.path.abspath(__file__))) import test_GApplication import test_GLinalg import test_GModel -- libgit2 0.21.4