code: def test_spinner_markup():
      spinner = Spinner("dots", "[bold]spinning[/bold]")
      assert isinstance(spinner.text, Text)
      assert str(spinner.text) == "spinning"
  
file_path: rich/tests/test_spinner.py
imports: import pytest
  from rich.console import Console
  from rich.measure import Measurement
  from rich.rule import Rule
  from rich.spinner import Spinner
  from rich.text import Text
label_desc: Use image node_id 5 for calling a global function with example usage: test_spinner_markup() without return types