diff --git a/tests/test_dataset.py b/tests/test_dataset.py index c8609f6d9c253ea1134717d569ab09be0245705b..d07b1c72194bf59f00b96785faa3586547abb058 100644 --- a/tests/test_dataset.py +++ b/tests/test_dataset.py @@ -6,7 +6,8 @@ import numpy as np import icartt # working directory, example files -wd, fns = pathlib.Path('.'), pathlib.Path('./examples').glob('*.ict') +wd = pathlib.Path(__file__).parent +fns = (wd/'examples').glob('*.ict') def compareFiles(fn, strIn, strOut, skiplines=0, nlines=-1): # pragma: no cover strOut.seek(0)