Skip to content
Snippets Groups Projects
Commit ff60e4df authored by Paul McCarthy's avatar Paul McCarthy :mountain_bicyclist:
Browse files

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

sense I guess
parent 78b20075
No related branches found
No related tags found
No related merge requests found
......@@ -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():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment