code: def test_empty_check_in_list() -> None:
      with pytest.raises(TypeError, match="No argument to check!"):
          _api.check_in_list(["a"])
  
file_path: matplotlib/lib/matplotlib/tests/test_api.py
imports: from __future__ import annotations
  import re
  import typing
  from typing import Any, Callable, TypeVar
  import numpy
  import pytest
  import matplotlib
  from matplotlib import _api
label_desc: Use image node_id 7 for calling a global function with example usage: test_empty_check_in_list() without return types