diff options
author | Edoardo Pasca <edo.paskino@gmail.com> | 2019-06-21 10:52:38 +0100 |
---|---|---|
committer | Edoardo Pasca <edo.paskino@gmail.com> | 2019-06-21 10:52:38 +0100 |
commit | ea9918624ee22820494b6251c5e9d547e588eaa5 (patch) | |
tree | 0569f6d9d7298819f41e290074a34ae618cf6556 /Wrappers | |
parent | 0a8b1f4a70866b424c27b11368944dc5fdf07d0d (diff) | |
download | framework-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-x | Wrappers/Python/test/test_TestData.py | 7 |
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): |