Commit ff60e4df authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Evidently you can't use __file__ of a native namespace package. Makes

sense I guess
parent 78b20075
......@@ -15,7 +15,7 @@ import contextlib
import argparse
import pytest
import fsl
import fsl.version as fv
from fsl.utils import fslsub, run
from fsl.utils.tempdir import tempdir
......@@ -63,7 +63,7 @@ with open('{{}}.o{{}}'.format(cmd, jobid), 'w') as stdout, \
print(str(jobid))
sys.exit(0)
""".format(op.dirname(fsl.__file__)).strip()
""".format(op.dirname(op.join(fv.__file__, '..'))).strip()
@contextlib.contextmanager
def fslsub_mockFSLDIR():
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment