Commit 320156508583df214b9f78447125eaf0bcbf6dca

Authored by Jürgen Knödlseder
1 parent 72d3ed35

Add path to test_python.py file to system path so that import statements also wo…

…rk for absolute imports that are used as standard in Python 3.
Showing 1 changed file with 1 additions and 0 deletions
test/test_python.py
... ... @@ -21,6 +21,7 @@
21 21 import gammalib
22 22 import sys
23 23 import os
  24 +sys.path.append(os.path.dirname(os.path.abspath(__file__)))
24 25 import test_GApplication
25 26 import test_GLinalg
26 27 import test_GModel
... ...