code: def test_rich_repr_auto() -> None:
      assert repr(Egg("hello", egg=2)) == "Egg('hello', egg=2)"
      stupid_class = StupidClass(9)
      not_stupid = NotStupid()
      assert (
          repr(
              Bird(
                  "penguin",
                  ["fish"],
                  another=stupid_class,
                  extinct=not_stupid,
              )
          )
          == f"Bird('penguin', ['fish'], another={repr(stupid_class)}, extinct={repr(not_stupid)})"
      )
  
imports: import sys
  from typing import Optional
  import pytest
  import rich.repr
  from rich.console import Console
  from inspect import Parameter
label_desc: Use image node_id 4 for calling a global function with example usage: test_rich_repr_auto() without return types