code: def test_issue_354():
      with ImageClip("media/python_logo.png") as clip:
          clip.duration = 10
          crosstime = 1
  
          # TODO: Should this be removed?
          # caption = editor.TextClip("test text", font="Liberation-Sans-Bold",
          #                           color='white', stroke_color='gray',
          #                           stroke_width=2, method='caption',
          #                           size=(1280, 720), font_size=60,
          #                           align='South-East')
          # caption.duration = clip.duration
  
          fadecaption = clip.fx(crossfadein, crosstime).fx(
              crossfadeout, crosstime
          )
          CompositeVideoClip([clip, fadecaption]).close()
  
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 5 for calling a global function with example usage: test_issue_354() without return types