code: def test_issue_470(util):
      wav_filename = os.path.join(util.TMP_DIR, "moviepy_issue_470.wav")
  
      audio_clip = AudioFileClip("media/crunching.mp3")
  
      # end_time is out of bounds
      subclip = audio_clip.subclip(start_time=6, end_time=9)
  
      with pytest.raises(IOError):
          subclip.write_audiofile(wav_filename, write_logfile=True)
  
      # but this one should work..
      subclip = audio_clip.subclip(start_time=6, end_time=8)
      subclip.write_audiofile(wav_filename, write_logfile=True)
  
imports: import os
  import pytest
  from moviepy.audio.io.AudioFileClip import AudioFileClip
  from moviepy.video.compositing.CompositeVideoClip import CompositeVideoClip
  from moviepy.video.compositing.concatenate import concatenate_videoclips
  from moviepy.video.compositing.transitions import crossfadein, crossfadeout
  from moviepy.video.fx.resize import resize
  from moviepy.video.io.VideoFileClip import VideoFileClip
  from moviepy.video.VideoClip import ColorClip, ImageClip, VideoClip
label_desc: Use image node_id 11 for calling a global function with example usage: test_issue_470(util) without return types