code: def test_unsupported_dtype(c_parser_only, match, kwargs):
      parser = c_parser_only
      df = DataFrame(
          np.random.default_rng(2).random((5, 2)),
          columns=list("AB"),
          index=["1A", "1B", "1C", "1D", "1E"],
      )
  
      with tm.ensure_clean("__unsupported_dtype__.csv") as path:
          df.to_csv(path)
  
          with pytest.raises(TypeError, match=match):
              parser.read_csv(path, index_col=0, **kwargs)
  
imports: from decimal import Decimal
  from io import BytesIO, StringIO, TextIOWrapper
  import mmap
  import os
  import tarfile
  import numpy
  import pytest
  from pandas.compat.numpy import np_version_gte1p24
  from pandas.errors import ParserError, ParserWarning
  import pandas.util._test_decorators
  from pandas import DataFrame, concat
  import pandas._testing
label_desc: Use image node_id 4 for calling a global function with example usage: test_unsupported_dtype(c_parser_only, match, kwargs) without return types