File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
nipype/pipeline/engine/tests Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -154,6 +154,7 @@ def test_join_expansion(tmpdir, needed_outputs):
154154 _sum_operands = []
155155 _sums = []
156156
157+ prev_state = config .get ('execution' , 'remove_unnecessary_outputs' )
157158 config .set ('execution' , 'remove_unnecessary_outputs' , needed_outputs )
158159 # Make the workflow.
159160 wf = pe .Workflow (name = 'test' )
@@ -203,7 +204,7 @@ def test_join_expansion(tmpdir, needed_outputs):
203204 # there are two iterations of the post-join node in the iterable path
204205 assert len (_products ) == 2 ,\
205206 "The number of iterated post-join outputs is incorrect"
206-
207+ config . set ( 'execution' , 'remove_unnecessary_outputs' , prev_state )
207208
208209
209210def test_node_joinsource (tmpdir ):
You can’t perform that action at this time.
0 commit comments