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

filenotfounderror no exist in python 2

parent bc8cfd31
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ def test_enabled():
fsldcm.enabled.invalidate()
# test dcm2niix not present
with mock.patch('subprocess.check_output',
side_effect=FileNotFoundError()):
side_effect=Exception()):
assert not fsldcm.enabled()
# test presence of different versions
......
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