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):
154
154
_sum_operands = []
155
155
_sums = []
156
156
157
+ prev_state = config .get ('execution' , 'remove_unnecessary_outputs' )
157
158
config .set ('execution' , 'remove_unnecessary_outputs' , needed_outputs )
158
159
# Make the workflow.
159
160
wf = pe .Workflow (name = 'test' )
@@ -203,7 +204,7 @@ def test_join_expansion(tmpdir, needed_outputs):
203
204
# there are two iterations of the post-join node in the iterable path
204
205
assert len (_products ) == 2 ,\
205
206
"The number of iterated post-join outputs is incorrect"
206
-
207
+ config . set ( 'execution' , 'remove_unnecessary_outputs' , prev_state )
207
208
208
209
209
210
def test_node_joinsource (tmpdir ):
You can’t perform that action at this time.
0 commit comments