Skip to content

Commit b454961

Browse files
committed
set base_dir
1 parent 5758373 commit b454961

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/pipeline/plugins/tests/test_callback.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_callback_multiproc_normal(tmpdir):
7272
tmpdir.chdir()
7373

7474
so = Status()
75-
wf = pe.Workflow(name='test')
75+
wf = pe.Workflow(name='test', base_dir=tmpdir.strpath)
7676
f_node = pe.Node(niu.Function(function=func, input_names=[],
7777
output_names=[]),
7878
name='f_node')
@@ -90,7 +90,7 @@ def test_callback_multiproc_exception(tmpdir):
9090
tmpdir.chdir()
9191

9292
so = Status()
93-
wf = pe.Workflow(name='test')
93+
wf = pe.Workflow(name='test', base_dir=tmpdir.strpath)
9494
f_node = pe.Node(niu.Function(function=bad_func, input_names=[],
9595
output_names=[]),
9696
name='f_node')

0 commit comments

Comments
 (0)