We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df52dc8 commit b330385Copy full SHA for b330385
nipype/interfaces/tests/test_matlab.py
@@ -102,7 +102,7 @@ def test_run_interface(tmpdir):
102
# bypasses ubuntu dash issue
103
mc = mlab.MatlabCommand(script="foo;", paths=[tmpdir.strpath], mfile=True)
104
assert not os.path.exists(default_script_file), "scriptfile should not exist 4."
105
- with pytest.raises(OSError):
+ with pytest.raises(RuntimeError):
106
mc.run()
107
assert os.path.exists(default_script_file), "scriptfile should exist 4."
108
if os.path.exists(default_script_file): # cleanup
0 commit comments