code: def test_do_not_replace_class_name_in_import_statement(tmp_path):
      _create(
          "MyImage",
          template="Image",
          directory=tmp_path,
          overwrite=True,
          install=False,
          configure_metadata=False,
      )
      code = (
          tmp_path / "backend" / "gradio_myimage" / "myimage.py"
      ).read_text()
      assert "from PIL import Image as _Image" in code
      assert "class MyImage" in code
      assert "_Image.Image" in code
  
file_path: gradio/test/test_gradio_component_cli.py
imports: import shutil
  import textwrap
  from pathlib import Path
  import pytest
  from gradio.cli.commands.components._create_utils import OVERRIDES
  from gradio.cli.commands.components.create import _create
  from gradio.cli.commands.components.publish import _get_version_from_file
  from gradio.cli.commands.components.show import _show
label_desc: Use image node_id 3 for calling a global function with example usage: test_do_not_replace_class_name_in_import_statement(tmp_path) without return types