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

TEST: Change pytest import mode so that pytest does not mess with sys.path

parent 37c10106
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ omit = ["fsl/tests/*", "fsl/data/imagewrapper.py"]
[tool.pytest.ini_options]
testpaths = ["fsl/tests"]
addopts = "-v --cov=fsl --showlocals"
addopts = "-v --cov=fsl --showlocals --import-mode=importlib"
markers = [
"fsltest: Requires FSL",
"wxtest: Requires wxPython",
......
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