File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
nipype/pipeline/engine/tests Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -71,8 +71,7 @@ class SumInterface(nib.SimpleInterface):
7171 output_spec = SumOutputSpec
7272
7373 def _run_interface (self , runtime ):
74- global _sum
75- global _sum_operands
74+ global _sum , _sum_operands
7675 runtime .returncode = 0
7776 self ._results ["operands" ] = self .inputs .input1
7877 self ._results ["output1" ] = sum (self .inputs .input1 )
@@ -139,9 +138,7 @@ def _list_outputs(self):
139138
140139@pytest .mark .parametrize ("needed_outputs" , ["true" , "false" ])
141140def test_join_expansion (tmpdir , needed_outputs ):
142- global _sums
143- global _sum_operands
144- global _products
141+ global _sums , _sum_operands , _products
145142 tmpdir .chdir ()
146143
147144 # Clean up, just in case some other test modified them
You can’t perform that action at this time.
0 commit comments