Skip to content

Commit

Permalink
Fix in test_matlab.py
Browse files Browse the repository at this point in the history
  • Loading branch information
adamnarai committed May 23, 2024
1 parent 83a775e commit fd2a35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nipype/interfaces/tests/test_matlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def test_run_interface(tmpdir):
# bypasses ubuntu dash issue
mc = mlab.MatlabCommand(script="foo;", paths=[tmpdir.strpath], mfile=True)
assert not os.path.exists(default_script_file), "scriptfile should not exist 4."
with pytest.raises(OSError):
with pytest.raises(RuntimeError):
mc.run()
assert os.path.exists(default_script_file), "scriptfile should exist 4."
if os.path.exists(default_script_file): # cleanup
Expand Down

0 comments on commit fd2a35c

Please sign in to comment.