code: def test_WarpTimeSeriesImageMultiTransform_invaffine_wrong(
      change_dir, create_wtsimt
  ):
      wtsimt = create_wtsimt
      wtsimt.inputs.invert_affine = [0]
      with pytest.raises(Exception):
          wtsimt.cmdline
  
file_path: nipype/nipype/interfaces/ants/tests/test_resampling.py
imports: from nipype.interfaces.ants import WarpImageMultiTransform, WarpTimeSeriesImageMultiTransform
  import os
  import pytest
label_desc: Use image node_id 10 for calling a global function with example usage: test_WarpTimeSeriesImageMultiTransform_invaffine_wrong(change_dir, create_wtsimt) without return types