summaryrefslogtreecommitdiffstats
path: root/Wrappers
diff options
context:
space:
mode:
authorEdoardo Pasca <edo.paskino@gmail.com>2019-06-21 10:52:38 +0100
committerEdoardo Pasca <edo.paskino@gmail.com>2019-06-21 10:52:38 +0100
commitea9918624ee22820494b6251c5e9d547e588eaa5 (patch)
tree0569f6d9d7298819f41e290074a34ae618cf6556 /Wrappers
parent0a8b1f4a70866b424c27b11368944dc5fdf07d0d (diff)
downloadframework-ea9918624ee22820494b6251c5e9d547e588eaa5.tar.gz
framework-ea9918624ee22820494b6251c5e9d547e588eaa5.tar.bz2
framework-ea9918624ee22820494b6251c5e9d547e588eaa5.tar.xz
framework-ea9918624ee22820494b6251c5e9d547e588eaa5.zip
fix local import for python 2.7
Diffstat (limited to 'Wrappers')
-rwxr-xr-xWrappers/Python/test/test_TestData.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Wrappers/Python/test/test_TestData.py b/Wrappers/Python/test/test_TestData.py
index cb44a07..3b26612 100755
--- a/Wrappers/Python/test/test_TestData.py
+++ b/Wrappers/Python/test/test_TestData.py
@@ -1,8 +1,9 @@
-from .testclass import CCPiTestClass
+
import numpy
from ccpi.framework import TestData
-import os
-
+import os, sys
+sys.path.append( os.path.dirname( os.path.abspath(__file__) ) )
+from testclass import CCPiTestClass
class TestTestData(CCPiTestClass):