code: def test_wrong_type():
      highlighter = NullHighlighter()
      with pytest.raises(TypeError):
          highlighter([])
  
file_path: rich/tests/test_highlighter.py
imports: import json
  from typing import List
  import pytest
  from rich.highlighter import ISO8601Highlighter, JSONHighlighter, NullHighlighter, ReprHighlighter
  from rich.text import Span, Text
label_desc: Use image node_id 1 for calling a global function with example usage: test_wrong_type() without return types