Skip to content

Commit b74fc85

Browse files
Terfeffigies
andauthored
Update nipype/interfaces/tests/test_r.py
Co-authored-by: Chris Markiewicz <[email protected]>
1 parent 6fcf05b commit b74fc85

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

nipype/interfaces/tests/test_r.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ def test_set_rcmd():
9191
default_script_file = clean_workspace_and_get_default_script_file()
9292

9393
ri = r.RCommand()
94+
_default_r_cmd = ri._default_r_cmd
9495
ri.set_default_r_cmd("foo")
9596
assert not os.path.exists(default_script_file), "scriptfile should not exist."
9697
assert ri._default_r_cmd == "foo"
97-
ri.set_default_r_cmd(r_cmd)
98+
ri.set_default_r_cmd(_default_r_cmd)

0 commit comments

Comments
 (0)