code: def test_broken_egg() -> None:
      with pytest.raises(rich.repr.ReprError):
          repr(BrokenEgg("foo"))
  
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 6 for calling a global function with example usage: test_broken_egg() without return types