summaryrefslogtreecommitdiffstats
path: root/bindings/python/tests/idwsf2_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python/tests/idwsf2_tests.py')
-rwxr-xr-xbindings/python/tests/idwsf2_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/python/tests/idwsf2_tests.py b/bindings/python/tests/idwsf2_tests.py
index bbc66c5d..aff03816 100755
--- a/bindings/python/tests/idwsf2_tests.py
+++ b/bindings/python/tests/idwsf2_tests.py
@@ -40,7 +40,7 @@ import lasso
try:
dataDir
except NameError:
- dataDir = '../../../tests/data'
+ dataDir = os.path.join(os.environ['TOP_SRCDIR'], 'tests', 'data')
class IdWsf2TestCase(unittest.TestCase):