code: def test_no_renderable():
      console = Console()
      text = Text()
  
      with pytest.raises(NotRenderableError):
          Measurement.get(console, console.options, None)
  
file_path: rich/tests/test_measure.py
imports: from rich.text import Text
  import pytest
  from rich.errors import NotRenderableError
  from rich.console import Console
  from rich.measure import Measurement, measure_renderables
label_desc: Use image node_id 2 for calling a global function with example usage: test_no_renderable() without return types