code: def should_fail(tmp):
      tmp.chdir()
  
      node = pe.Node(
          utility.Function(
              input_names=["size"],
              output_names=["random_array"],
              function=make_random_array,
          ),
          name="should_fail",
      )
      node.inputs.size = 10
      node.run()
  
file_path: nipype/nipype/interfaces/utility/tests/test_wrappers.py
imports: import os
  import pytest
  from nipype.interfaces import utility
  import nipype.pipeline.engine
label_desc: Use image node_id 3 for calling a global function with example usage: should_fail(tmp) without return types