code: def test__init__preview_methods():
      moviepy_module = importlib.import_module("moviepy")
  
      with pytest.raises(ImportError) as exc:
          moviepy_module.VideoClip.preview(True)
      assert (
          str(exc.value)
          == "clip.preview requires importing from moviepy.editor"
      )
  
      with pytest.raises(ImportError) as exc:
          moviepy_module.VideoClip.show(True)
      assert (
          str(exc.value)
          == "clip.show requires importing from moviepy.editor"
      )
  
      del sys.modules["moviepy"]
  
file_path: moviepy/tests/test_editor.py
imports: import importlib
  import io
  import sys
  from contextlib import redirect_stdout
  import pytest
  from moviepy.audio.AudioClip import AudioClip
  from moviepy.video.VideoClip import VideoClip
label_desc: Use image node_id 2 for calling a global function with example usage: test__init__preview_methods() without return types